diff options
-rw-r--r-- | src/jtag/tcl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index 468edf5..b634ac0 100644 --- 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; |