summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/target/dsp563xx_once.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c
index d95dcdfd..267f475e 100644
--- a/src/target/dsp563xx_once.c
+++ b/src/target/dsp563xx_once.c
@@ -188,7 +188,7 @@ int dsp563xx_once_request_debug(struct jtag_tap *tap, int reset_state)
int dsp563xx_once_read_register(struct jtag_tap *tap, int flush, struct once_reg *regs, int len)
{
int i;
- int err;
+ int err = ERROR_OK;
for (i = 0; i < len; i++)
{