From debdc91f2c3e31564f60a22ca672b8aa9c565ef2 Mon Sep 17 00:00:00 2001 From: sebastid Date: Sat, 14 Jan 2006 15:58:01 +0000 Subject: [PATCH] Fix compiler warnings. SVN revision: 19798 --- legacy/evas/src/lib/file/evas_module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/file/evas_module.c b/legacy/evas/src/lib/file/evas_module.c index ab3ffd444b..c43e2dd76c 100644 --- a/legacy/evas/src/lib/file/evas_module.c +++ b/legacy/evas/src/lib/file/evas_module.c @@ -51,7 +51,6 @@ evas_module_paths_init(void) char *prefix; char *path; - int i; Evas_List *paths = NULL; /* 1. ~/.evas/modules/ */ @@ -137,7 +136,7 @@ evas_module_init(void) if (!(dir = opendir(mp->path))) break; // printf("[evas module] searching modules on %s\n", mp->path); - while (de = readdir(dir)) + while ((de = readdir(dir))) { char *buf;