]> granicus.if.org Git - python/commitdiff
Initialize the tk_init_failed static variable to 0.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 5 Apr 2009 01:30:02 +0000 (01:30 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 5 Apr 2009 01:30:02 +0000 (01:30 +0000)
Modules/_tkinter.c

index 4d81058deb816c8a4338f6bf98951f4dcfbbbf48..e5d46242e11d83d844fffd4fb96a38e37867d4a9 100644 (file)
@@ -281,7 +281,7 @@ static PyObject *valInCmd;
 static PyObject *trbInCmd;
 
 #ifdef TKINTER_PROTECT_LOADTK
-static int tk_load_failed;
+static int tk_load_failed = 0;
 #endif
 
 \f