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>
This commit is contained in:
Linus Tolke 2012-04-24 21:55:51 +02:00 committed by Peter Stuge
parent 63e5386fa6
commit f28a5d9217
1 changed files with 1 additions and 1 deletions

View File

@ -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);