summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-12 19:05:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-12 19:05:48 (GMT)
commit7d1349553b12b264ae48c8a5ad8e26f8e9856334 (patch)
tree348736e5cedb0d879af342c47700389e8c88f0d0
parent2c3bfc2a1a430b5805c10fa07b90c57a14c6fddc (diff)
downloadcpython-7d1349553b12b264ae48c8a5ad8e26f8e9856334.zip
cpython-7d1349553b12b264ae48c8a5ad8e26f8e9856334.tar.gz
cpython-7d1349553b12b264ae48c8a5ad8e26f8e9856334.tar.bz2
Always initialize objc.
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 4d58909..492198e 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -976,7 +976,7 @@ static Tcl_Obj**
Tkapp_CallArgs(PyObject *args, Tcl_Obj** objStore, int *pobjc)
{
Tcl_Obj **objv = objStore;
- int objc, i;
+ int objc = 0, i;
if (args == NULL)
/* do nothing */;