From 805f47b085d663d0ce4fd76fa71491ef9ea65543 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 17 Jun 2007 07:38:48 +0000 Subject: [PATCH] Fix warnings. SVN revision: 30367 --- src/bin/e_fm.c | 4 ++-- src/bin/e_fm_custom.c | 4 +--- src/bin/e_order.c | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 693cfbb2b..e4bbb8734 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -4012,11 +4012,11 @@ _e_fm2_icon_desktop_load(E_Fm2_Icon *ic) snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ic->info.file); desktop = efreet_desktop_get(buf); - printf("efreet_desktop_get(5s) = %p\n", buf, desktop); + printf("efreet_desktop_get(%s) = %p\n", buf, desktop); if (!desktop) goto error; // if (desktop->type != EFREET_DESKTOP_TYPE_LINK) goto error; - printf(" mod time %lli\n", desktop->load_time); + printf(" mod time %f\n", desktop->load_time); ic->info.removable = 0; ic->info.removable_full = 0; if (desktop->name) ic->info.label = evas_stringshare_add(desktop->name); diff --git a/src/bin/e_fm_custom.c b/src/bin/e_fm_custom.c index 371cd7e60..90b64c490 100644 --- a/src/bin/e_fm_custom.c +++ b/src/bin/e_fm_custom.c @@ -152,9 +152,7 @@ e_fm2_custom_file_rename(const char *path, const char *new_path) { E_Fm2_Custom_File *cf, *cf2; Evas_List *list, *l; - void *dat; - int size; - + _e_fm2_custom_file_info_load(); if (!_e_fm2_custom_file) return; if (_e_fm2_flush_timer) e_fm2_custom_file_flush(); diff --git a/src/bin/e_order.c b/src/bin/e_order.c index 8f974df76..0f46eae49 100644 --- a/src/bin/e_order.c +++ b/src/bin/e_order.c @@ -182,7 +182,7 @@ _e_order_read(E_Order *eo) f = fopen(eo->path, "rb"); if (f) { - char buf[4096], buf2[PATH_MAX]; + char buf[4096]; while (fgets(buf, sizeof(buf), f)) {