This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/7056] New: pthread_cleanup_pop: suggest braces around empty body in 'do' statement
- From: "caolanm at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Nov 2008 12:07:45 -0000
- Subject: [Bug nptl/7056] New: pthread_cleanup_pop: suggest braces around empty body in 'do' statement
- Reply-to: sourceware-bugzilla at sourceware dot org
Compiling code with gcc 4.3.2 with -werror that happens to use
"pthread_cleanup_pop" will spit out
error: suggest braces around empty body in 'do' statement
foiling my warning-free status.
Trivial patch attached
--
Summary: pthread_cleanup_pop: suggest braces around empty body in
'do' statement
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper at redhat dot com
ReportedBy: caolanm at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=7056
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.