projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af51c69
)
clang: fix warning by adding assert that shows that a variable is used
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Sat, 29 Oct 2011 08:55:02 +0000
(10:55 +0200)
committer
Øyvind Harboe
<oyvindharboe@gmail.com>
Sat, 29 Oct 2011 13:13:45 +0000
(13:13 +0000)
Change-Id: I26e0ba9f1ae9d43c9a14c42c4225746782dc4d66
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/134
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
src/jtag/tcl.c
patch
|
blob
|
history
diff --git
a/src/jtag/tcl.c
b/src/jtag/tcl.c
index 468edf5e511c169823b126660dcbe215bdc018b4..b634ac0db57211440248d3174a529f0e0fd02806 100644
(file)
--- a/
src/jtag/tcl.c
+++ b/
src/jtag/tcl.c
@@
-166,6
+166,8
@@
static int Jim_Command_drscan(Jim_Interp *interp, int argc, Jim_Obj *const *args
}
} /* validate args */
+ assert(e == JIM_OK);
+
tap = jtag_tap_by_jim_obj(interp, args[1]);
if (tap == NULL) {
return JIM_ERR;