[torquedev] [Bug 155] New: 2.5.8-snap.201108291517: "unused-but-set-variable" warnings

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Aug 29 16:06:28 MDT 2011


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=155

           Summary: 2.5.8-snap.201108291517:  "unused-but-set-variable"
                    warnings
           Product: TORQUE
           Version: 2.5.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: libtorque
        AssignedTo: dbeer at adaptivecomputing.com
        ReportedBy: burnus at net-b.de
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0


Created an attachment (id=93)
 --> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=93)
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.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list