jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=07e95f8003b7dacdd37b3a0ae6870d5dac85c446

commit 07e95f8003b7dacdd37b3a0ae6870d5dac85c446
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Apr 6 22:12:24 2015 +0900

    eetpack: Fix shadow variable warning
---
 src/bin/ecore_evas/eetpack.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/bin/ecore_evas/eetpack.c b/src/bin/ecore_evas/eetpack.c
index 7817fa9..6e7616d 100644
--- a/src/bin/ecore_evas/eetpack.c
+++ b/src/bin/ecore_evas/eetpack.c
@@ -8,7 +8,7 @@
 #include <Evas.h>
 #include <Ecore_Evas.h>
 
-static const char *file = NULL;
+static const char *output = NULL;
 static Eet_File *ef = NULL;
 static Ecore_Evas *ee = NULL;
 static Evas *evas = NULL;
@@ -18,11 +18,11 @@ static void
 file_add(void)
 {
    if (ef) return;
-   ef = eet_open(file, EET_FILE_MODE_READ_WRITE);
-   if (!ef) ef = eet_open(file, EET_FILE_MODE_WRITE);
+   ef = eet_open(output, EET_FILE_MODE_READ_WRITE);
+   if (!ef) ef = eet_open(output, EET_FILE_MODE_WRITE);
    if (!ef)
      {
-        printf("ERROR: Cannot open %s for reading or writing!\n", file);
+        printf("ERROR: Cannot open %s for reading or writing!\n", output);
         exit(-1);
      }
 }
@@ -31,10 +31,10 @@ static void
 file_del(void)
 {
    if (ef) return;
-   ef = eet_open(file, EET_FILE_MODE_READ_WRITE);
+   ef = eet_open(output, EET_FILE_MODE_READ_WRITE);
    if (!ef)
      {
-        printf("ERROR: Cannot open %s for writing!\n", file);
+        printf("ERROR: Cannot open %s for writing!\n", output);
         exit(-1);
      }
 }
@@ -280,7 +280,7 @@ main(int argc, char **argv)
    ecore_evas_init();
 
    scratch_canvas_init();
-   file = argv[1];
+   output = argv[1];
    commands(2, argc, argv);
    if (ef) eet_close(ef);
 

-- 


Reply via email to