From: Uwe Hermann Date: Wed, 22 Jan 2014 22:06:01 +0000 (+0100) Subject: tests/runtc.c: Minor whitespace fixes. X-Git-Tag: libsigrokdecode-0.3.0~153 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=2de277b88e7e7ff49c5a2933da36cb28d3f79481;p=libsigrokdecode.git tests/runtc.c: Minor whitespace fixes. --- diff --git a/tests/runtc.c b/tests/runtc.c index 9ba51f4..b891b3b 100644 --- a/tests/runtc.c +++ b/tests/runtc.c @@ -36,7 +36,6 @@ #endif #include "../config.h" - int debug = FALSE; int statistics = FALSE; @@ -406,7 +405,7 @@ static int run_testcase(char *infile, GSList *pdlist, struct output *op) /* Only annotations and binary can have a class. */ return FALSE; idx = 0; - while(l) { + while (l) { decoder_class = l->data; if (!strcmp(decoder_class[0], op->class)) { op->class_idx = idx; @@ -456,7 +455,7 @@ int main(int argc, char **argv) pdlist = NULL; opt_infile = NULL; pd = NULL; - while((c = getopt(argc, argv, "dP:p:o:i:O:f:S")) != -1) { + while ((c = getopt(argc, argv, "dP:p:o:i:O:f:S")) != -1) { switch(c) { case 'd': debug = TRUE; @@ -559,5 +558,3 @@ int main(int argc, char **argv) return ret; } - -