diff options
author | hobbs <hobbs> | 2000-09-06 19:02:01 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-09-06 19:02:01 (GMT) |
commit | b670d5b82370e3932b72bcf3299a2ceb35a9df7b (patch) | |
tree | 46cb6e7941068ca59a716e5797c79fe55e5f3284 /generic/tkMessage.c | |
parent | 6b3c72d47a56a62cdc0a26e8ad8cc8db289b2869 (diff) | |
download | tk-b670d5b82370e3932b72bcf3299a2ceb35a9df7b.zip tk-b670d5b82370e3932b72bcf3299a2ceb35a9df7b.tar.gz tk-b670d5b82370e3932b72bcf3299a2ceb35a9df7b.tar.bz2 |
* generic/tkMessage.c (MessageWidgetObjCmd): initialized result to
avoid pedantic warning.
Diffstat (limited to 'generic/tkMessage.c')
-rw-r--r-- | generic/tkMessage.c | 5 |
1 files 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) { |