Evas gif-loader: Fixed shadow warnings.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Apr 2012 10:08:30 +0000 (10:08 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Apr 2012 10:08:30 +0000 (10:08 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@70129 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/loaders/gif/evas_image_load_gif.c

index dbb3584..ab9d3bf 100644 (file)
@@ -317,7 +317,6 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
         Image_Entry_Frame *new_frame = NULL;
         int                cur_frame = frame->index;
         int                start_frame = 1;
-        int                j = 0;
 
         if (_find_close_frame(ie, cur_frame, &new_frame))
           start_frame = new_frame->index + 1;
@@ -343,12 +342,12 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
           }
         else
           {
-             Gif_Frame *gif_frame = NULL;
+             Gif_Frame *gif_frame2 = NULL;
              ptr_src = new_frame->data;
              if (new_frame->info)
                {
-                  gif_frame = (Gif_Frame *)(new_frame->info);
-                  disposal = gif_frame->frame_info.disposal;
+                  gif_frame2 = (Gif_Frame *)(new_frame->info);
+                  disposal = gif_frame2->frame_info.disposal;
                }
              switch(disposal) /* we only support disposal flag 0,1,2 */
                {