From b670d5b82370e3932b72bcf3299a2ceb35a9df7b Mon Sep 17 00:00:00 2001
From: hobbs <hobbs>
Date: Wed, 6 Sep 2000 19:02:01 +0000
Subject: 	* generic/tkMessage.c (MessageWidgetObjCmd): initialized
 result to 	avoid pedantic warning.

---
 generic/tkMessage.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/generic/tkMessage.c b/generic/tkMessage.c
index 69233b2..e42b581 100644
--- a/generic/tkMessage.c
+++ b/generic/tkMessage.c
@@ -12,7 +12,7 @@
  * See the file "license.terms" for information on usage and redistribution
  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  *
- * RCS: @(#) $Id: tkMessage.c,v 1.7 2000/08/10 00:21:07 ericm Exp $
+ * RCS: @(#) $Id: tkMessage.c,v 1.8 2000/09/06 19:02:01 hobbs Exp $
  */
 
 #include "tkPort.h"
@@ -328,7 +328,8 @@ MessageWidgetObjCmd(clientData, interp, objc, objv)
     register Message *msgPtr = (Message *) clientData;
     static char *optionStrings[] = { "cget", "configure", (char *) NULL };
     enum options { MESSAGE_CGET, MESSAGE_CONFIGURE };
-    int index, result;
+    int index;
+    int result = TCL_OK;
     Tcl_Obj *objPtr;
     
     if (objc < 2) {
-- 
cgit v0.12