From 6581bf5f15f404a9a219cfed8eebced76b4414a5 Mon Sep 17 00:00:00 2001 From: Alexander Kurz Date: Sun, 28 Feb 2016 21:21:40 +0100 Subject: Cleanup: removal of obsolete semicolons Obsolete C source code semicolons were removed using the semantic patch semicolon/semicolon.cocci, see coccinellery.org Change-Id: I153b4995a9e028ebaf5f58c947821dc78345a777 Signed-off-by: Alexander Kurz Reviewed-on: http://openocd.zylin.com/3367 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- src/flash/nor/str7x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/nor/str7x.c') diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index 515b9751..d8a4cd49 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -487,7 +487,7 @@ static int str7x_write_block(struct flash_bank *bank, const uint8_t *buffer, if (target_alloc_working_area_try(target, sizeof(str7x_flash_write_code), &write_algorithm) != ERROR_OK) { return ERROR_TARGET_RESOURCE_NOT_AVAILABLE; - }; + } uint8_t code[sizeof(str7x_flash_write_code)]; target_buffer_set_u32_array(target, code, ARRAY_SIZE(str7x_flash_write_code), -- cgit v1.2.3-18-g5258