summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-15 15:41:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-02-15 15:41:55 (GMT)
commitb4660a7ff9a3dac758b033af3fd7618db6a68b9d (patch)
treeb7b1e33cfb8ab8059d41c74fd9aa012af692d1dd
parent3bbf07a495505a49d2631f3a9edecc9e24417220 (diff)
downloadtcl-b4660a7ff9a3dac758b033af3fd7618db6a68b9d.zip
tcl-b4660a7ff9a3dac758b033af3fd7618db6a68b9d.tar.gz
tcl-b4660a7ff9a3dac758b033af3fd7618db6a68b9d.tar.bz2
Remove unused variable in win32 static build
-rw-r--r--generic/tclZipfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c
index 50653ff..0d646aa 100644
--- a/generic/tclZipfs.c
+++ b/generic/tclZipfs.c
@@ -3113,7 +3113,7 @@ TclZipfs_TclLibrary(void)
{
Tcl_Obj *vfsInitScript;
int found;
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(STATIC_BUILD)
HMODULE hModule;
WCHAR wName[MAX_PATH + LIBRARY_SIZE];
char dllName[(MAX_PATH + LIBRARY_SIZE) * 3];