summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-19 22:39:04 (GMT)
committernijtmans <nijtmans>2010-02-19 22:39:04 (GMT)
commit93f9e81c61f96535d7370311ef29f4c63c4f13e8 (patch)
tree1c51d17ded51aa108dab8c25523e006947957496
parent24cb9750b29a2b19e7547ead9938676913a7917b (diff)
downloadtk-93f9e81c61f96535d7370311ef29f4c63c4f13e8.zip
tk-93f9e81c61f96535d7370311ef29f4c63c4f13e8.tar.gz
tk-93f9e81c61f96535d7370311ef29f4c63c4f13e8.tar.bz2
remove unused "dataKey" variable
-rw-r--r--ChangeLog4
-rw-r--r--win/tkWinColor.c9
2 files changed, 6 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 34e52cb..937d10a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-19 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * win/tkWinColor.c: remove unused "dataKey" variable
+
2010-02-19 Donal K. Fellows <dkf@users.sf.net>
* unix/configure.in, unix/Makefile.in: [Bug 2415437]: Corrections to
diff --git a/win/tkWinColor.c b/win/tkWinColor.c
index 1b75a94..f18538d 100644
--- a/win/tkWinColor.c
+++ b/win/tkWinColor.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinColor.c,v 1.14 2010/02/16 21:12:56 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinColor.c,v 1.15 2010/02/19 22:39:04 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -63,14 +63,9 @@ static const SystemColorEntry sysColors[] = {
{"Scrollbar", COLOR_SCROLLBAR},
{"Window", COLOR_WINDOW},
{"WindowFrame", COLOR_WINDOWFRAME},
- {"WindowText", COLOR_WINDOWTEXT},
+ {"WindowText", COLOR_WINDOWTEXT}
};
-typedef struct ThreadSpecificData {
- int ncolors;
-} ThreadSpecificData;
-static Tcl_ThreadDataKey dataKey;
-
/*
* Forward declarations for functions defined later in this file.
*/