diff options
author | nijtmans <nijtmans@noemail.net> | 2010-01-22 14:17:52 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-01-22 14:17:52 (GMT) |
commit | 8a6cc178971d5e06149c12009af42ba167a14675 (patch) | |
tree | 000910596afd8ed4fc7d62d3df7ec8d8b277d252 /win/tkWinTest.c | |
parent | c9614df6adf85234555540664e2b7d8ec79cde26 (diff) | |
download | tk-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.c | 5 |
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; |