bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/14836] New: fails to build with -Werror=unused-but-set-variable


From: agarcia at igalia dot com
Subject: [Bug gas/14836] New: fails to build with -Werror=unused-but-set-variable
Date: Tue, 13 Nov 2012 15:19:38 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14836

             Bug #: 14836
           Summary: fails to build with -Werror=unused-but-set-variable
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6730
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6730
Patch

There's a couple of unused variables in tc-z80.c (that produce a compilation
error with -Werror=unused-but-set-variable).

config/tc-z80.c: In function 'parse_exp_not_indexed':
config/tc-z80.c:547:8: error: variable 'dummy' set but not used
[-Werror=unused-but-set-variable]
config/tc-z80.c: In function 'emit_byte':
config/tc-z80.c:708:10: error: variable 'fixp' set but not used
[-Werror=unused-but-set-variable]

Patch attached.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]