From 4431cfb561f417f1110cb6b7a72d9e6a28c87887 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 9 Nov 2004 11:03:00 +0000 Subject: [PATCH] (main): Init local var c to silence compiler. --- lib-src/hexl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-src/hexl.c b/lib-src/hexl.c index 5ca7c2a5b8a..7a2f127ae61 100644 --- a/lib-src/hexl.c +++ b/lib-src/hexl.c @@ -173,7 +173,7 @@ main (argc, argv) #endif for (;;) { - register int i, c, d; + register int i, c = 0, d; #define hexchar(x) (isdigit (x) ? x - '0' : x - 'a' + 10) @@ -225,7 +225,7 @@ main (argc, argv) string[17] = '\0'; for (;;) { - register int i, c; + register int i, c = 0; for (i=0; i < 16; ++i) { -- 2.39.5