diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-22 23:06:01 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-28 22:46:05 +0100 |
commit | 2de277b88e7e7ff49c5a2933da36cb28d3f79481 (patch) | |
tree | 61202e8887841380d13be7762ce28f3a3c8eda3d /tests | |
parent | 00bebae3f43a6c0c577d31c7c0b58faeb002478b (diff) | |
download | libsigrokdecode-2de277b88e7e7ff49c5a2933da36cb28d3f79481.tar.gz libsigrokdecode-2de277b88e7e7ff49c5a2933da36cb28d3f79481.zip |
tests/runtc.c: Minor whitespace fixes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtc.c | 7 |
1 files changed, 2 insertions, 5 deletions
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; } - - |