diff options
author | Jim Meyering <meyering@redhat.com> | 2008-04-16 11:20:28 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-04-16 11:20:28 +0200 |
commit | d9cdf8ce28e97c94a66df2e3c0d21b0cf33f2267 (patch) | |
tree | b5223df6e37449e83ac4e25ca9c17faf35296fea | |
parent | 5d8b8d8b742dba80dbf5c1c917a3b793de54a112 (diff) | |
download | coreutils-d9cdf8ce28e97c94a66df2e3c0d21b0cf33f2267.tar.xz |
avoid "may be used uninitialized" warning from newer gcc
* src/md5sum.c (digest_check) [lint]: Initialize local, "filename".
-rw-r--r-- | src/md5sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |