diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-01-12 20:27:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-01-12 20:27:43 +0000 |
commit | 23842aabe63bab798fecaff968153edde898b970 (patch) | |
tree | 6ed8f291959eadca37b1ebe96f544ec32bdd6226 /monitor.c | |
parent | 3eb26cc2167e771c49f7a20f70d07d61d327c1ef (diff) |
monitor: fix dead assignment spotted by clang
Value stored to 'nb_per_line' is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1109,7 +1109,7 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize, target_phys_addr_t addr, int is_physical) { CPUState *env; - int nb_per_line, l, line_size, i, max_digits, len; + int l, line_size, i, max_digits, len; uint8_t buf[16]; uint64_t v; @@ -1148,7 +1148,6 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize, line_size = 8; else line_size = 16; - nb_per_line = line_size / wsize; max_digits = 0; switch(format) { |