emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17336: closed ([PATCH] grep: warning to be uniniti


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17336: closed ([PATCH] grep: warning to be uninitialized with -Wall)
Date: Fri, 25 Apr 2014 15:59:03 +0000

Your message dated Sat, 26 Apr 2014 00:58:40 +0900
with message-id <address@hidden>
and subject line bug#17336: [PATCH] grep: warning to be uninitialized with -Wall
has caused the debbugs.gnu.org bug report #17336,
regarding [PATCH] grep: warning to be uninitialized with -Wall
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17336: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17336
GNU Bug Tracking System
Contact address@hidden with problems
--- 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

Attachment: 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]