Purge of compiler warnings (number 2):

* initial values I added in radialcontrol.c might need to be reviewed if they cause problems(I used 200, as it seems many tools were setting that)
* #pragma warnings are the only warnings I still get, so that means we have a clean slate again
This commit is contained in:
Joshua Leung
2008-02-25 04:38:48 +00:00
parent eaf111a34c
commit 3023458aa7
7 changed files with 22 additions and 26 deletions

View File

@@ -881,7 +881,7 @@ void BPy_Free_DrawButtonsList(void)
{
/*Clear the list.*/
if (M_Button_List) {
PyGILState_STATE gilstate;
PyGILState_STATE gilstate = {0};
int py_is_on = Py_IsInitialized();
if (py_is_on) gilstate = PyGILState_Ensure();