diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 21:05:19 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 22:31:21 -0700 |
commit | 8958a9171486db6d4f14ff3de0165950cf24c2a1 (patch) | |
tree | 0ae3c9f19ae0ee91d96a5d55bde478f10f38655e | |
parent | bbe7b93875b78ae0831b811a2a8ebb114c71dd27 (diff) | |
download | gdb-8958a9171486db6d4f14ff3de0165950cf24c2a1.zip gdb-8958a9171486db6d4f14ff3de0165950cf24c2a1.tar.gz gdb-8958a9171486db6d4f14ff3de0165950cf24c2a1.tar.bz2 |
sim: ppc: fix -Wunused-but-set-variable warnings
-rw-r--r-- | sim/ppc/device_table.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/ppc/device_table.c b/sim/ppc/device_table.c index 7d8fabd..76f522c 100644 --- a/sim/ppc/device_table.c +++ b/sim/ppc/device_table.c @@ -45,7 +45,6 @@ generic_device_init_address(device *me) NULL }; const char **reg_property_name; - int nr_valid_reg_properties = 0; for (reg_property_name = reg_property_names; *reg_property_name != NULL; reg_property_name++) { @@ -73,7 +72,6 @@ generic_device_init_address(device *me) attach_space, attach_address, attach_size, access_read_write_exec, me); - nr_valid_reg_properties++; } /* if first option matches don't try for any others */ if (reg_property_name == reg_property_names) |