aboutsummaryrefslogtreecommitdiff
path: root/jim-tclprefix.c
diff options
context:
space:
mode:
authorEvan Hunter <evan@ozhiker.com>2016-09-29 23:09:15 +0100
committerSteve Bennett <steveb@workware.net.au>2016-10-02 09:27:58 +1000
commit890be1129b7f65c1a1840ee4fa89c07b13a360a6 (patch)
treef33444f21f552d7e3327f21d18cb6fe783ced6a7 /jim-tclprefix.c
parent3dddadf4e41cdd3c64a920c60991766ab7141650 (diff)
downloadjimtcl-890be1129b7f65c1a1840ee4fa89c07b13a360a6.zip
jimtcl-890be1129b7f65c1a1840ee4fa89c07b13a360a6.tar.gz
jimtcl-890be1129b7f65c1a1840ee4fa89c07b13a360a6.tar.bz2
Add some tests for paths identified as untested by gcov.
Also prune a 'break' which was unreachable.
Diffstat (limited to 'jim-tclprefix.c')
-rw-r--r--jim-tclprefix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/jim-tclprefix.c b/jim-tclprefix.c
index fd696b7..d7a1c45 100644
--- a/jim-tclprefix.c
+++ b/jim-tclprefix.c
@@ -128,7 +128,6 @@ static int Jim_TclPrefixCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const
}
return JIM_ERR;
}
- break;
case OPT_ALL:
if (argc != 4) {
@@ -184,7 +183,7 @@ static int Jim_TclPrefixCoreCommand(Jim_Interp *interp, int argc, Jim_Obj *const
return JIM_OK;
}
}
- return JIM_ERR;
+ return JIM_ERR; /* Cannot ever get here */
}
int Jim_tclprefixInit(Jim_Interp *interp)