summaryrefslogtreecommitdiffstats
path: root/generic/tkWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-03 20:17:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-04-03 20:17:01 (GMT)
commit46aecf3d998cb19bd8107932e7f95cf5abbc41a9 (patch)
tree6909766d167011b99ee390e421db7f35904a4f29 /generic/tkWindow.c
parentb0cd51815168b6c4d8fa61c00eb931f865ee03ec (diff)
downloadtk-46aecf3d998cb19bd8107932e7f95cf5abbc41a9.zip
tk-46aecf3d998cb19bd8107932e7f95cf5abbc41a9.tar.gz
tk-46aecf3d998cb19bd8107932e7f95cf5abbc41a9.tar.bz2
Remove unused variable.
Remove tkStubLib.o from tk85.dll. On Windows, data cannot be exported from dll's anyway, so it's just dead code. On UNIX, it makes a difference, and it would be a potential incompatibility to remove it.
Diffstat (limited to 'generic/tkWindow.c')
-rw-r--r--generic/tkWindow.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c
index ac69455..04d2639 100644
--- a/generic/tkWindow.c
+++ b/generic/tkWindow.c
@@ -3275,9 +3275,11 @@ Initialize(
Tcl_SetMainLoop(Tk_MainLoop);
-#undef Tk_InitStubs
-
+#ifndef _WIN32
+ /* On Windows, this has no added value. */
+# undef Tk_InitStubs
Tk_InitStubs(interp, TK_VERSION, 1);
+#endif
/*
* Initialized the themed widget set