[Bug libc/3991] New: [patch] cleanup superfluous comma operator in assert and assert_perror macros
ilugo at bridonsecurity dot com
sourceware-bugzilla@sourceware.org
Wed Feb 7 13:34:00 GMT 2007
The assert and assert_perror macros in assert.h contain an unnecessary comma
operator in the failure case. __assert_fail and __assert_perror_fail are already
of type void (which is consistent with the first operand of the ?:), there is no
need for the right side of the comma just to get a void expression. The
functions don't return anyway. I'm attaching a patch against the CVS version.
--
Summary: [patch] cleanup superfluous comma operator in assert and
assert_perror macros
Product: glibc
Version: 2.4
Status: NEW
Severity: minor
Priority: P3
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: ilugo at bridonsecurity dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list