From e30158f3c061962e70399020681563d87662d4a2 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 25 Apr 2000 01:02:12 +0000 Subject: * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in colormapwindows case (bug found by Reasoning, Inc's automated code testing). FossilOrigin-Name: bbb728ba60c56a5e0f2e4b3a73e5922dc2cfeeb4 --- mac/tkMacWm.c | 4 ++-- 1 file 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 @@ -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)) { -- cgit v0.12