summaryrefslogtreecommitdiffstats
path: root/win/tkWinTest.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2010-01-22 14:17:52 (GMT)
committernijtmans <nijtmans@noemail.net>2010-01-22 14:17:52 (GMT)
commit8a6cc178971d5e06149c12009af42ba167a14675 (patch)
tree000910596afd8ed4fc7d62d3df7ec8d8b277d252 /win/tkWinTest.c
parentc9614df6adf85234555540664e2b7d8ec79cde26 (diff)
downloadtk-8a6cc178971d5e06149c12009af42ba167a14675.zip
tk-8a6cc178971d5e06149c12009af42ba167a14675.tar.gz
tk-8a6cc178971d5e06149c12009af42ba167a14675.tar.bz2
fix more gcc warnings: missing initializer
Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures. FossilOrigin-Name: 226d49d2c00c3a417e9b6272792f4a201c50811b
Diffstat (limited to 'win/tkWinTest.c')
-rw-r--r--win/tkWinTest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/win/tkWinTest.c b/win/tkWinTest.c
index d44bf38..b71fefa 100644
--- a/win/tkWinTest.c
+++ b/win/tkWinTest.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinTest.c,v 1.29 2010/01/13 23:08:11 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinTest.c,v 1.30 2010/01/22 14:17:53 nijtmans Exp $
*/
#ifndef USE_TCL_STUBS
@@ -366,9 +366,6 @@ TestwineventCmd(
}
}
message = TkFindStateNum(NULL, NULL, messageMap, argv[3]);
- if (message < 0) {
- message = strtol(argv[3], NULL, 0);
- }
wParam = 0;
lParam = 0;