disas/arm: Fix warnings caused by missing 'static' attribute
commit35ff0798130b654a866dc4c944e8bf45575ad990
authorStefan Weil <sw@weilnetz.de>
Sun, 1 Mar 2015 13:05:51 +0000 (1 14:05 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000 (10 08:15 +0300)
tree9af7accb39895fc8aa52bf442f27940536e9de3c
parentd122f1a254abb91e42b4f2b2e1f8ee8980785e68
disas/arm: Fix warnings caused by missing 'static' attribute

Warnings from the Sparse static analysis tool:

disas/arm.c:1552:15: warning:
 symbol 'last_type' was not declared. Should it be static?
disas/arm.c:1553:5: warning:
 symbol 'last_mapping_sym' was not declared. Should it be static?
disas/arm.c:1554:9: warning:
 symbol 'last_mapping_addr' was not declared. Should it be static?

Instead of adding 'static', the unused variables and the unused code which
refers to those variables (which was deactivated a long time ago in
commit 4b0f1a8b) are removed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
disas/arm.c