Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm.c e_fm_hal.c Log Message: Fix warnings. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v retrieving revision 1.226 retrieving revision 1.227 diff -u -3 -r1.226 -r1.227 --- e_fm.c 31 Oct 2007 19:48:56 -0000 1.226 +++ e_fm.c 31 Oct 2007 19:51:14 -0000 1.227 @@ -2272,8 +2272,7 @@ else if (CMP("removable:*")) { E_Volume *v; - char *mountpoint; - + v = e_fm2_hal_volume_find(dev + strlen("removable:")); if (v) { =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_hal.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- e_fm_hal.c 28 Oct 2007 04:03:40 -0000 1.2 +++ e_fm_hal.c 31 Oct 2007 19:51:14 -0000 1.3 @@ -81,7 +81,7 @@ { Evas_List *l; - if (!udi) return; + if (!udi) return NULL; for (l = _e_stores; l; l = l->next) { @@ -98,7 +98,7 @@ { E_Storage *s; - if (e_fm2_hal_volume_find(v)) return; + if (e_fm2_hal_volume_find(v->udi)) return; v->validated = 1; _e_vols = evas_list_append(_e_vols, v); @@ -401,7 +401,7 @@ { E_Fm2_Mount *m; - if (!v) return; + if (!v) return NULL; m = calloc(1, sizeof(E_Fm2_Mount)); if (!m) return NULL; ------------------------------------------------------------------------- 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