From: Antonio Borneo Date: Sat, 12 Jun 2010 03:07:47 +0000 (+0800) Subject: TARGET/ARM920T: fix return value X-Git-Tag: v0.5.0-rc1~643 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcc7de4f9b4dfa58ed8a8712c4c146a3c83aba17;p=openocd TARGET/ARM920T: fix return value Function arm920t_write_memory() default return value should be ERROR_OK. All cases of local errors are handled immediately and not further propagated. Signed-off-by: Antonio Borneo --- diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 03aa233d..d7096486 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -711,7 +711,7 @@ int arm920t_write_memory(struct target *target, uint32_t address, } } - return retval; + return ERROR_OK; } // EXPORTED to FA256