summaryrefslogtreecommitdiffstats
path: root/generic/tclZipfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r--generic/tclZipfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index c27685b..a9d263d 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -1666,9 +1666,8 @@ ZipFSCatalogFilesystem(
Tcl_DStringInit(&dsm);
if (strcmp(mountPoint, "/") == 0) {
mountPoint = "";
- } else {
- mountPoint = CanonicalPath("", mountPoint, &dsm, 1);
}
+ mountPoint = CanonicalPath("", mountPoint, &dsm, 1);
hPtr = Tcl_CreateHashEntry(&ZipFS.zipHash, mountPoint, &isNew);
if (!isNew) {
if (interp) {