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



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