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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils