From 1932108285ef02eca43acfbaf2470c45592739e5 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 25 Apr 2000 01:02:13 +0000 Subject: * mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in colormapwindows case (bug found by Reasoning, Inc's automated code testing). --- 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