From 2145595f74e6ffec9f79c24ccdf907569844e6e1 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Sun, 5 Apr 2009 01:30:02 +0000 Subject: Initialize the tk_init_failed static variable to 0. --- Modules/_tkinter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 4d81058..e5d4624 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 -- cgit v0.12