summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2004-09-27 22:39:18 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2004-09-27 22:39:18 (GMT)
commit47305581a84e1d59070c85d0e2196a46f3577ae5 (patch)
treea2f6112d1b05123b9f7ee4de80ed785856e8a9d7 /generic/tclBasic.c
parentf110950bfea3fe5400481344d35fb20b5be5b3e6 (diff)
downloadtcl-47305581a84e1d59070c85d0e2196a46f3577ae5.zip
tcl-47305581a84e1d59070c85d0e2196a46f3577ae5.tar.gz
tcl-47305581a84e1d59070c85d0e2196a46f3577ae5.tar.bz2
* generic/tclBasic.c (TclObjInvoke): fix for bogus gcc warning about
uninitialised variable.
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index fabec6f..6401e73 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBasic.c,v 1.118 2004/09/27 22:03:42 kennykb Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.119 2004/09/27 22:39:20 msofer Exp $
*/
#include "tclInt.h"
@@ -4283,6 +4283,7 @@ TclObjInvoke(interp, objc, objv, flags)
}
cmdPtr = (Command *) Tcl_GetHashValue(hPtr);
} else {
+ cmdPtr = NULL; /* Avoid warning */
Tcl_Panic("TclObjInvoke: called without TCL_INVOKE_HIDDEN");
}