summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r--generic/tclCmdIL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index b303bb6..6972f59 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -670,7 +670,7 @@ InfoCommandsCmd(
Tcl_SetObjResult(interp, listPtr);
return TCL_OK;
}
- if ((nsPtr != globalNsPtr) && !specificNsInPattern) {
+ if (!specificNsInPattern) {
Tcl_HashTable *tablePtr = NULL; /* Quell warning. */
for (i=0 ; i<nsPtr->commandPathLength ; i++) {