Mark big and mach with ATTRIBUTE_UNUSED
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 7 Aug 2017 15:07:26 +0000 (08:07 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 7 Aug 2017 15:07:26 +0000 (08:07 -0700)
commitb28b8b5e31903f59b00a4664b8204409e1e5bb91
tree4e3d636b3a92f1dafa29faf722b4707180d0941b
parent2980ccad5958af178f80fd2a2a0fa781bf91b0aa
Mark big and mach with ATTRIBUTE_UNUSED

Fix build on x86:

opcodes/disassemble.c: In function ‘disassembler’:
opcodes/disassemble.c:113:52: error: unused parameter ‘big’ [-Werror=unused-parameter]
 disassembler (enum bfd_architecture a, bfd_boolean big, unsigned long mach,
                                                    ^~~
opcodes/disassemble.c:113:71: error: unused parameter ‘mach’ [-Werror=unused-parameter]
 disassembler (enum bfd_architecture a, bfd_boolean big, unsigned long mach,
                                                                       ^~~~
cc1: all warnings being treated as errors

* disassemble.c (disassembler): Mark big and mach with
ATTRIBUTE_UNUSED.
opcodes/ChangeLog
opcodes/disassemble.c