Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fileman_smart.c Log Message: Many compiler warning clean-ups =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v retrieving revision 1.115 retrieving revision 1.116 diff -u -3 -r1.115 -r1.116 --- e_fileman_smart.c 19 Dec 2005 14:11:27 -0000 1.115 +++ e_fileman_smart.c 29 Dec 2005 14:51:25 -0000 1.116 @@ -615,7 +615,6 @@ static void _e_fm_smart_add(Evas_Object *object) { - char dir[PATH_MAX]; E_Fm_Smart_Data *sd; sd = E_NEW(E_Fm_Smart_Data, 1); @@ -1455,15 +1454,12 @@ static void _e_fm_dir_set(E_Fm_Smart_Data *sd, const char *dir) { - Evas_List *l; Evas_List *list; Ecore_Sheap *heap; char *f; int type; DIR *dir2; struct dirent *dp; - E_Event_Fm_Reconfigure *ev; - E_Event_Fm_Directory_Change *ev2; if (!dir) return; if ((sd->dir) && (!strcmp(sd->dir, dir))) return; @@ -1472,7 +1468,7 @@ type = E_FM_FILE_TYPE_NORMAL; list = NULL; - while(dp = readdir(dir2)) + while((dp = readdir(dir2))) { if ((!strcmp(dp->d_name, ".") || (!strcmp (dp->d_name, "..")))) continue; if ((dp->d_name[0] == '.') && (!(type & E_FM_FILE_TYPE_HIDDEN))) continue; @@ -1570,12 +1566,9 @@ _e_fm_dir_files_get(void *data) { E_Fm_Smart_Data *sd; - Evas_List *l; E_Fm_Icon *icon; - struct dirent *dir_entry; char path[PATH_MAX]; int i; - int type; i = 0; sd = data; @@ -1711,6 +1704,10 @@ switch (event) { + case ECORE_FILE_EVENT_NONE: + break; + case ECORE_FILE_EVENT_MODIFIED: + break; case ECORE_FILE_EVENT_DELETED_SELF: dir = _e_fm_dir_pop(sd->dir); /* FIXME: we need to fix this, uber hack alert */ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs