--- Begin Message ---
Subject: |
[PATCH] grep: warning to be uninitialized with -Wall |
Date: |
Fri, 25 Apr 2014 08:04:36 +0900 |
If `lint' macro isn't defined, kwset.c is warned to be uninitialized
with -Wall. Of course, even if it's warned, there is no operational
problems. However, I can't find any reasons that `accept' variable
should be uninitialized. So fix it.
Norihiro
patch.txt
Description: Text document
--- End Message ---
--- Begin Message ---
Subject: |
bug#17336: [PATCH] grep: warning to be uninitialized with -Wall |
Date: |
Sat, 26 Apr 2014 00:58:40 +0900 |
Paul Eggert wrote:
> Two reasons. First, if we add initialization to the source, that might
> cause some compilers to generate less-efficient code. More important,
> adding initialization might cause some human readers of the code to
> become confused, and to think that the initialization is necessary.
Thanks, I agree.
Norihiro
--- End Message ---