projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flash/stm32l4x: fix maybe-uninitialized compiler error
[fw/openocd]
/
src
/
flash
/
nor
/
stm32l4x.c
diff --git
a/src/flash/nor/stm32l4x.c
b/src/flash/nor/stm32l4x.c
index fa8924ed385e12dc144930e7ae37d49eb256f911..fd0338899f461293098f2f3de4d8fa743e8f5211 100644
(file)
--- a/
src/flash/nor/stm32l4x.c
+++ b/
src/flash/nor/stm32l4x.c
@@
-1632,7
+1632,7
@@
err_lock:
static int stm32l4_read_idcode(struct flash_bank *bank, uint32_t *id)
{
- int retval;
+ int retval
= ERROR_OK
;
struct target *target = bank->target;
/* try reading possible IDCODE registers, in the following order */