Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_int_config_modules.c Log Message: Init some vars to NULL before use. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_modules.c,v retrieving revision 1.73 retrieving revision 1.74 diff -u -3 -r1.73 -r1.74 --- e_int_config_modules.c 28 Oct 2007 07:37:25 -0000 1.73 +++ e_int_config_modules.c 28 Oct 2007 07:43:46 -0000 1.74 @@ -564,8 +564,8 @@ _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; if (module->short_name) evas_stringshare_del(module->short_name); @@ -581,8 +581,8 @@ _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; module->selected = 0; @@ -593,9 +593,9 @@ _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; mod = e_module_find(module->short_name); @@ -609,9 +609,9 @@ _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; mod = e_module_find(module->short_name); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs