From 773feaf5298717693edd43fd5c30ad1bcd1d6e6f Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 19 Jan 2006 15:25:07 +0000 Subject: [PATCH] initwinsound(): this no longer compiled on Windows, because code snuck in between auto declarations. --- PC/winsound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PC/winsound.c b/PC/winsound.c index 81e3917ed6..bc30ccc584 100644 --- a/PC/winsound.c +++ b/PC/winsound.c @@ -217,12 +217,13 @@ initwinsound(void) { OSVERSIONINFO version; + PyObject *dict; PyObject *module = Py_InitModule3("winsound", sound_methods, sound_module_doc); if (module == NULL) return; - PyObject *dict = PyModule_GetDict(module); + dict = PyModule_GetDict(module); ADD_DEFINE(SND_ASYNC); ADD_DEFINE(SND_NODEFAULT); -- 2.40.0