Init some vars to NULL before use.

SVN revision: 32184
This commit is contained in:
Christopher Michael 2007-10-28 07:43:46 +00:00
parent 802ead030f
commit 06bc9cbd83
1 changed files with 10 additions and 10 deletions

View File

@ -564,7 +564,7 @@ static Evas_Bool
_modules_hash_cb_free(Evas_Hash *hash __UNUSED__, const char *key __UNUSED__,
void *data, void *fdata __UNUSED__)
{
CFModule *module;
CFModule *module = NULL;
module = data;
if (!module) return 1;
@ -581,7 +581,7 @@ static Evas_Bool
_modules_hash_cb_unsel(Evas_Hash *hash __UNUSED__, const char *key __UNUSED__,
void *data, void *fdata __UNUSED__)
{
CFModule *module;
CFModule *module = NULL;
module = data;
if (!module) return 1;
@ -593,8 +593,8 @@ static Evas_Bool
_modules_hash_cb_load(Evas_Hash *hash __UNUSED__, const char *key __UNUSED__,
void *data, void *fdata __UNUSED__)
{
CFModule *module;
E_Module *mod;
CFModule *module = NULL;
E_Module *mod = NULL;
module = data;
if ((!module) || (!module->selected)) return 1;
@ -609,8 +609,8 @@ static Evas_Bool
_modules_hash_cb_unload(Evas_Hash *hash __UNUSED__, const char *key __UNUSED__,
void *data, void *fdata __UNUSED__)
{
CFModule *module;
E_Module *mod;
CFModule *module = NULL;
E_Module *mod = NULL;
module = data;
if ((!module) || (!module->selected)) return 1;