Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes
This commit is contained in:
committed by
Øyvind Harboe
parent
ae02a0e517
commit
f6315d5e5b
@@ -1731,11 +1731,10 @@ static int gdb_memory_map(struct connection *connection,
|
||||
for (i = 0; i < flash_get_bank_count(); i++) {
|
||||
int j;
|
||||
unsigned sector_size = 0;
|
||||
uint32_t start, end;
|
||||
uint32_t start;
|
||||
|
||||
p = banks[i];
|
||||
start = p->base;
|
||||
end = p->base + p->size;
|
||||
|
||||
if (ram_start < p->base)
|
||||
xml_printf(&retval, &xml, &pos, &size,
|
||||
|
||||
Reference in New Issue
Block a user