diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-02-25 07:38:48 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-02-25 07:38:48 +0300 |
commit | 3023458aa7319a100cfb248a3ace72de5f854670 (patch) | |
tree | edc44ff0a2bfae198c90c623d74341c80628c46c /source/blender/python/api2_2x/Draw.c | |
parent | eaf111a34c46d78e6669f6e59f59b4eded7d4f66 (diff) |
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
Diffstat (limited to 'source/blender/python/api2_2x/Draw.c')
-rw-r--r-- | source/blender/python/api2_2x/Draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c index a5c14edc7aa..284a6d92ba2 100644 --- a/source/blender/python/api2_2x/Draw.c +++ b/source/blender/python/api2_2x/Draw.c @@ -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(); |