Remove compiler warning :

warning: suggest explicit braces to avoid ambiguous ‘else’
This commit is contained in:
Oliver Hartkopp
2010-05-14 12:50:17 +00:00
parent 62c030b21f
commit 5655d53acb
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -310,11 +310,12 @@ int main(int argc, char **argv)
loops = 1;
}
if (verbose > 1) /* use -v -v to see this */
if (verbose > 1) { /* use -v -v to see this */
if (infinite_loops)
printf("infinite_loops\n");
else
printf("%d loops\n", loops);
}
sleep_ts.tv_sec = gap / 1000;
sleep_ts.tv_nsec = (gap % 1000) * 1000000;