changeset 58078:5d803fae362c

(main): Init local var c to silence compiler.
author Kim F. Storm <storm@cua.dk>
date Tue, 09 Nov 2004 11:03:00 +0000
parents 501270d701ec
children bbf8071c5ce8
files lib-src/hexl.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/hexl.c	Tue Nov 09 11:02:51 2004 +0000
+++ b/lib-src/hexl.c	Tue Nov 09 11:03:00 2004 +0000
@@ -173,7 +173,7 @@
 #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 @@
 	  string[17] = '\0';
 	  for (;;)
 	    {
-	      register int i, c;
+	      register int i, c = 0;
 
 	      for (i=0; i < 16; ++i)
 		{