summaryrefslogtreecommitdiff
path: root/lib-src/hexl.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-11-09 11:03:00 +0000
committerKim F. Storm <storm@cua.dk>2004-11-09 11:03:00 +0000
commit4431cfb561f417f1110cb6b7a72d9e6a28c87887 (patch)
tree622a7731775c05b405ba5b0313c607229e65fd2b /lib-src/hexl.c
parent708781d96a95f3803007cae57a7cab02bb2aba22 (diff)
downloademacs-4431cfb561f417f1110cb6b7a72d9e6a28c87887.tar.gz
(main): Init local var c to silence compiler.
Diffstat (limited to 'lib-src/hexl.c')
-rw-r--r--lib-src/hexl.c4
1 files 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)
{