eo: Fix shadow variable warning
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 07:23:44 +0000 (16:23 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 15 Feb 2017 11:11:22 +0000 (20:11 +0900)
src/lib/eo/eo.c

index 48d1d9d..ebcf041 100644 (file)
@@ -2879,8 +2879,8 @@ _eo_log_obj_shutdown(void)
 
         for (; itr < itr_end; itr++)
           {
-             const Eo_Log_Obj_Entry *entry = *itr;
              void * const *cur;
+             entry = *itr;
              if (entry->is_free) continue;
              for (cur = itr + 1; cur < itr_end; cur++)
                {