diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 20:44:02 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 21:21:58 -0500 |
commit | d2704ed59bfa5fcfcc8d5441a837eff5312604a5 (patch) | |
tree | 9ef798e71bbd0ea4b34e2b13c1171f4143176a2f /sim/igen/ld-decode.c | |
parent | f64e47a22ca2a9c10c4ceb19b84d687f902fa725 (diff) | |
download | gdb-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.zip gdb-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.tar.gz gdb-d2704ed59bfa5fcfcc8d5441a837eff5312604a5.tar.bz2 |
sim: warnings: fix unused variable warnings
Leave the igen code in place as it's meant to be used with newer
(to-be-written) code ported from the ppc version.
The sh code isn't really necessary as the opcodes enums have been
maintained independently from here, and the lists are out-of-sync
already.
Diffstat (limited to 'sim/igen/ld-decode.c')
-rw-r--r-- | sim/igen/ld-decode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/igen/ld-decode.c b/sim/igen/ld-decode.c index 6edd7c8..6a2d859 100644 --- a/sim/igen/ld-decode.c +++ b/sim/igen/ld-decode.c @@ -61,12 +61,14 @@ static const name_map decode_combine_map[] = { {NULL, 0}, }; +#if 0 static const name_map decode_search_map[] = { {"constants", decode_find_constants}, {"mixed", decode_find_mixed}, {"strings", decode_find_strings}, {NULL, decode_find_mixed}, }; +#endif static void |