From d9cdf8ce28e97c94a66df2e3c0d21b0cf33f2267 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 16 Apr 2008 11:20:28 +0200 Subject: avoid "may be used uninitialized" warning from newer gcc * src/md5sum.c (digest_check) [lint]: Initialize local, "filename". --- src/md5sum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/md5sum.c b/src/md5sum.c index 5eb8494b0..ba762d149 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -449,7 +449,7 @@ digest_check (const char *checkfile_name) line_chars_allocated = 0; do { - char *filename; + char *filename IF_LINT (= NULL); int binary; unsigned char *hex_digest IF_LINT (= NULL); ssize_t line_length; -- cgit v1.2.3-70-g09d2