From 33e6337cde3c87222bb0b59b64d560286378c6d6 Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Wed, 9 May 2007 07:33:34 +0000 Subject: [PATCH] Added missing initialisation to prevent a gcc warning. --- candump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/candump.c b/candump.c index c72ff77..16628ab 100644 --- a/candump.c +++ b/candump.c @@ -189,7 +189,8 @@ int main(int argc, char **argv) signal(SIGHUP, sigterm); signal(SIGINT, sigterm); - last_tv.tv_sec = 0; /* init */ + last_tv.tv_sec = 0; + last_tv.tv_usec = 0; while ((opt = getopt(argc, argv, "m:v:i:e:t:cas:b:lL")) != -1) { switch (opt) {