Silenced a few compiler warnings

This commit is contained in:
2007-06-21 11:24:42 +00:00
parent 371e52c32f
commit 3d4a9c1c43
2 changed files with 2 additions and 2 deletions

View File

@@ -4334,7 +4334,7 @@ static void waveModifier_do(
float minfac =
(float)(1.0 / exp(wmd->width * wmd->narrow * wmd->width * wmd->narrow));
float lifefac = wmd->height;
float (*tex_co)[3];
float (*tex_co)[3] = NULL;
if(wmd->flag & MOD_WAVE_NORM && ob->type == OB_MESH)
mvert = dm->getVertArray(dm);

View File

@@ -738,7 +738,7 @@ void BPY_spacescript_do_pywin_event( SpaceScript * sc, unsigned short event,
static void exec_but_callback(void *pyobj, void *data)
{
PyObject *result;
PyObject * pyvalue;
PyObject *pyvalue = NULL;
uiBut *but = (uiBut *)data;
PyObject *arg;
PyObject *callback = (PyObject *)pyobj;