projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8b8d8
)
avoid "may be used uninitialized" warning from newer gcc
author
Jim Meyering
<meyering@redhat.com>
Wed, 16 Apr 2008 09:20:28 +0000
(11:20 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Wed, 16 Apr 2008 09:20:28 +0000
(11:20 +0200)
* src/md5sum.c (digest_check) [lint]: Initialize local, "filename".
src/md5sum.c
patch
|
blob
|
history
diff --git
a/src/md5sum.c
b/src/md5sum.c
index
5eb8494
..
ba762d1
100644
(file)
--- 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;