From 5655d53acb2d7427d5d80a29c49db47fcbac76a3 Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Fri, 14 May 2010 12:50:17 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20compiler=20warning=20:=20warning:=20su?= =?UTF-8?q?ggest=20explicit=20braces=20to=20avoid=20ambiguous=20=E2=80=98e?= =?UTF-8?q?lse=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- canbusload.c | 3 ++- canplayer.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/canbusload.c b/canbusload.c index d849c77..36f3423 100644 --- a/canbusload.c +++ b/canbusload.c @@ -150,11 +150,12 @@ void printstats(int signo) for (i=0; i 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;