summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 046eaef..bcaadd4 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -1784,13 +1784,17 @@ TclDoGlob(interp, separators, headPtr, tail, types)
int baseLength, quoted, count;
int result = TCL_OK;
char *name, *p, *openBrace, *closeBrace, *firstSpecialChar, savedChar;
+ /*
char lastChar = 0;
+ */
int length = Tcl_DStringLength(headPtr);
+ /*
if (length > 0) {
lastChar = Tcl_DStringValue(headPtr)[length-1];
}
+ */
/*
* Consume any leading directory separators, leaving tail pointing