diff options
| author | Stefan Weil | 2015-03-01 14:18:35 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2015-03-10 06:15:34 +0100 |
| commit | 52b831de0099e627ee3505cb1c0c3d8eeefd3d65 (patch) | |
| tree | 24aa55925dcb236d2fa0d09f30add1a92e687d91 /scripts | |
| parent | disas/arm: Fix warnings caused by missing 'static' attribute (diff) | |
| download | qemu-52b831de0099e627ee3505cb1c0c3d8eeefd3d65.tar.gz qemu-52b831de0099e627ee3505cb1c0c3d8eeefd3d65.tar.xz qemu-52b831de0099e627ee3505cb1c0c3d8eeefd3d65.zip | |
disas/microblaze: Fix warnings caused by missing 'static' attribute
Warnings from the Sparse static analysis tool:
disas/microblaze.c:289:3: warning:
symbol 'opcodes' was not declared. Should it be static?
disas/microblaze.c:570:6: warning:
symbol 'register_prefix' was not declared. Should it be static?
disas/microblaze.c:571:6: warning:
symbol 'special_register_prefix' was not declared. Should it be static?
disas/microblaze.c:572:6: warning:
symbol 'fsl_register_prefix' was not declared. Should it be static?
disas/microblaze.c:573:6: warning:
symbol 'pvr_register_prefix' was not declared. Should it be static?
Remove the unused variable special_register_prefix.
The variable pvr_register_prefix was unused, too, but can be used.
Add also 'const' where possible.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
