diff --git a/src/_tkagg.cpp b/src/_tkagg.cpp index 5a5616bea539..a2c99b50486b 100644 --- a/src/_tkagg.cpp +++ b/src/_tkagg.cpp @@ -259,6 +259,7 @@ void load_tkinter_funcs(void) HANDLE process = GetCurrentProcess(); // Pseudo-handle, doesn't need closing. HMODULE* modules = NULL; DWORD size; + bool tcl_ok = false, tk_ok = false; if (!EnumProcessModules(process, NULL, 0, &size)) { PyErr_SetFromWindowsErr(0); goto exit; @@ -271,7 +272,6 @@ void load_tkinter_funcs(void) PyErr_SetFromWindowsErr(0); goto exit; } - bool tcl_ok = false, tk_ok = false; for (unsigned i = 0; i < size / sizeof(HMODULE); ++i) { if (!tcl_ok) { tcl_ok = load_tcl(modules[i]); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy