Bug 155 - 2.5.8-snap.201108291517: "unused-but-set-variable" warnings
: 2.5.8-snap.201108291517: "unused-but-set-variable" warnings
Status: NEW
Product: TORQUE
libtorque
: 2.5.x
: PC Linux
: P5 enhancement
Assigned To: David Beer
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-29 16:06 MDT by Tobias Burnus
Modified: 2011-08-29 16:06 MDT (History)
1 user (show)

See Also:


Attachments
Patch fixing some of the warnings (11.16 KB, patch)
2011-08-29 16:06 MDT, Tobias Burnus
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description Tobias Burnus 2011-08-29 16:06:28 MDT
Created an attachment (id=93) [details]
Patch fixing some of the warnings

Split-off from bug 154.

With GCC 4.7 and -Wall one gets several unused-but-set-variable errors.
See bug 154 comment 0 for a list.

The attached patch fixes some of those; I did not test it very thoroughly;
additionally, I do not know whether some of those should be removed or rather
commented - my choice might not be the most sensible.