NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/41844: Missing parenthesis in deroff.c
The following reply was made to PR bin/41844; it has been noted by GNATS.
From: henning petersen <henning.petersen%t-online.de@localhost>
To: =?UTF-8?B?WmFmZXIgQXlkb8SfYW4=?= <zafer%aydogan.de@localhost>
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/41844: Missing parenthesis in deroff.c
Date: Fri, 07 Aug 2009 15:01:01 +0200
Zafer AydoÄ?an schrieb:
> 2009/8/7 <henning.petersen%t-online.de@localhost>:
>
>>> Number: 41844
>>> Category: bin
>>> Synopsis: Missing parenthesis in deroff.c
>>> Confidential: no
>>> Severity: non-critical
>>> Priority: medium
>>> Responsible: bin-bug-people
>>> State: open
>>> Class: sw-bug
>>> Submitter-Id: net
>>> Arrival-Date: Fri Aug 07 12:00:01 +0000 2009
>>> Originator: Henning Petersen
>>> Release: current-NetBSD
>>> Organization:
>>> Environment:
>>> Description:
>>>
>> Delete parenthesis, found with programm cppcheck.
>>
>>> How-To-Repeat:
>>>
>>> Fix:
>>>
>> RCS file: /cvsroot/src/usr.bin/deroff/deroff.c,v
>> retrieving revision 1.6
>> diff -r1.6 deroff.c
>> 828c828
>> < return C1get);
>> ---
>>
>>> return C1get;
>>>
>> 835c835
>> < return Cget);
>> ---
>>
>>> return Cget;
>>>
>>
>
> Please provide unified diffs (diff -u).
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4314 (20090807) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
>
diff -u -r1.6 deroff.c
--- usr.bin/deroff/deroff.c 11 Apr 2009 13:01:27 -0000 1.6
+++ usr.bin/deroff/deroff.c 7 Aug 2009 12:16:43 -0000
@@ -825,14 +825,14 @@
_C1(void)
{
- return C1get);
+ return C1get;
}
static int
_C(void)
{
- return Cget);
+ return Cget;
}
#endif /* DEBUG */
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4314 (20090807) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Home |
Main Index |
Thread Index |
Old Index