summaryrefslogtreecommitdiffstats
path: root/mac
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-04-25 01:02:12 (GMT)
committerhobbs <hobbs@noemail.net>2000-04-25 01:02:12 (GMT)
commite30158f3c061962e70399020681563d87662d4a2 (patch)
tree87854b3082a066e843657e369658b0b9dced2240 /mac
parent9c67534d41e38d8c3981724c9a51c03c4eba636e (diff)
downloadtk-e30158f3c061962e70399020681563d87662d4a2.zip
tk-e30158f3c061962e70399020681563d87662d4a2.tar.gz
tk-e30158f3c061962e70399020681563d87662d4a2.tar.bz2
* mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in
colormapwindows case (bug found by Reasoning, Inc's automated code testing). FossilOrigin-Name: bbb728ba60c56a5e0f2e4b3a73e5922dc2cfeeb4
Diffstat (limited to 'mac')
-rw-r--r--mac/tkMacWm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tkMacWm.c b/mac/tkMacWm.c
index 825aae4..8ee7e6c 100644
--- a/mac/tkMacWm.c
+++ b/mac/tkMacWm.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: tkMacWm.c,v 1.9 2000/02/10 08:57:11 jingham Exp $
+ * RCS: @(#) $Id: tkMacWm.c,v 1.10 2000/04/25 01:02:13 hobbs Exp $
*/
#include <Gestalt.h>
@@ -810,7 +810,7 @@ Tk_WmCmd(
&& (length >= 3)) {
TkWindow **cmapList;
TkWindow *winPtr2;
- int i, windowArgc, gotToplevel;
+ int i, windowArgc, gotToplevel = 0;
char **windowArgv;
if ((argc != 3) && (argc != 4)) {