This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001506] New: Fix compiler warnings about unused 'rc'variables.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Fri, 2 Mar 2012 17:37:25 +0000
- Subject: [Bug 1001506] New: Fix compiler warnings about unused 'rc'variables.
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001506
Summary: Fix compiler warnings about unused 'rc' variables.
Product: eCos
Version: CVS
Platform: All
OS/Version: Other
Status: NEW
Severity: enhancement
Priority: low
Component: C library
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: grant.b.edwards@gmail.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
In abort() and exit() the 'rc' variable is set but unrefernced unless
either asserts or tracing is enabled. This patch marks those 'rc'
variables with the CYGBLD_ATTRIB_UNUSED attribute so the compiler
won't warn us about them being set but unreferenced.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.