* [Buildroot] [Bug 4375] New: prevent unused-but-set warning on "ret" in makedevs.c
@ 2011-10-22 4:04 bugzilla at busybox.net
2011-10-23 17:50 ` [Buildroot] [Bug 4375] " bugzilla at busybox.net
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2011-10-22 4:04 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4375
Summary: prevent unused-but-set warning on "ret" in makedevs.c
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: d_mo1234 at yahoo.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 3673
--> https://bugs.busybox.net/attachment.cgi?id=3673
patch file
The makedevs program assigns "ret", but never reads from it. (It always
returns 0.) While using gcc 4.6.0 for an OMAP target, I got an unused-but-set
warning on "ret", which coupled with a -Werror that was set somewhere, bringing
the buildroot compile to a halt. So I have attached a patch that tests "ret",
and prints out a warning if there were any failures.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] [Bug 4375] prevent unused-but-set warning on "ret" in makedevs.c
2011-10-22 4:04 [Buildroot] [Bug 4375] New: prevent unused-but-set warning on "ret" in makedevs.c bugzilla at busybox.net
@ 2011-10-23 17:50 ` bugzilla at busybox.net
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2011-10-23 17:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=4375
Danomi Mocelopolis <d_mo1234@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Danomi Mocelopolis <d_mo1234@yahoo.com> 2011-10-23 17:50:41 UTC ---
*** This bug has been marked as a duplicate of bug 4171 ***
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-23 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-22 4:04 [Buildroot] [Bug 4375] New: prevent unused-but-set warning on "ret" in makedevs.c bugzilla at busybox.net
2011-10-23 17:50 ` [Buildroot] [Bug 4375] " bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox