projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jtag/aice: fix clang static analyzer warnings
[fw/openocd]
/
src
/
jtag
/
aice
/
aice_transport.c
diff --git
a/src/jtag/aice/aice_transport.c
b/src/jtag/aice/aice_transport.c
index 15ebcac97248d22bdcb1a6f60388ab15b602bc02..682c6698a5630f6ab378987a7b7b899bb2919f77 100644
(file)
--- a/
src/jtag/aice/aice_transport.c
+++ b/
src/jtag/aice/aice_transport.c
@@
-47,6
+47,7
@@
static int jim_newtap_expected_id(Jim_Nvp *n, Jim_GetOptInfo *goi,
return JIM_ERR;
}
+ assert(pTap->expected_ids);
memcpy(new_expected_ids, pTap->expected_ids, expected_len);
new_expected_ids[pTap->expected_ids_cnt] = w;