Fix warnings.

SVN revision: 30367
This commit is contained in:
Sebastian Dransfeld 2007-06-17 07:38:48 +00:00
parent 220aa0e9c7
commit 805f47b085
3 changed files with 4 additions and 6 deletions

View File

@ -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);

View File

@ -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();

View File

@ -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))
{