From: Alexandre Vassalotti Date: Sun, 5 Apr 2009 01:30:02 +0000 (+0000) Subject: Initialize the tk_init_failed static variable to 0. X-Git-Tag: v3.1b1~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2145595f74e6ffec9f79c24ccdf907569844e6e1;p=python Initialize the tk_init_failed static variable to 0. --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 4d81058deb..e5d46242e1 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -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