topic: Fixed a clang Dead assignment warning.
The value returned from target_write_buffer is still ignored. Change-Id: Icb49d4d1313a5e4f7df68d3f122a5f81cfa0604a Signed-off-by: Linus Tolke <linus@tigris.org> Reviewed-on: http://openocd.zylin.com/596 Tested-by: jenkins Reviewed-by: Peter Stuge <peter@stuge.se>__archive__
parent
63e5386fa6
commit
f28a5d9217
|
@ -1039,7 +1039,7 @@ static int stellaris_write_block(struct flash_bank *bank,
|
|||
target_name(target), (unsigned) buffer_size);
|
||||
};
|
||||
|
||||
retval = target_write_buffer(target, write_algorithm->address,
|
||||
target_write_buffer(target, write_algorithm->address,
|
||||
sizeof(stellaris_write_code),
|
||||
(uint8_t *) stellaris_write_code);
|
||||
|
||||
|
|
Loading…
Reference in New Issue