summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-18 14:10:39 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-18 14:10:39 +0900
commit7620f760baeea60cccb6b92573ca90201c978eca (patch)
treecf74784d882df1de230855f3ca18c713d53f4303
parent386f9e76133345e80bde14d9e8ccd66aa576a228 (diff)
Fix warnings: shadow, unused-variable
-rw-r--r--src/bin/main.c4
-rw-r--r--src/bin/platform-x.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index de52be9..0552ee3 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -424,7 +424,6 @@ _event_mouse_tracker(void *data)
424 { 424 {
425 int fx, fy, fw, fh, zx, zy, zw, zh, stride, iw, ih; 425 int fx, fy, fw, fh, zx, zy, zw, zh, stride, iw, ih;
426 unsigned int *pixels, color; 426 unsigned int *pixels, color;
427 char buf[32];
428 427
429 zw = zone->zoom.ideal_size.w < zone->w / 4 ? 428 zw = zone->zoom.ideal_size.w < zone->w / 4 ?
430 zone->zoom.ideal_size.w : zone->w / 4; 429 zone->zoom.ideal_size.w : zone->w / 4;
@@ -2492,7 +2491,6 @@ elm_main(int argc, char **argv)
2492 else 2491 else
2493 { 2492 {
2494 Eina_List *l; 2493 Eina_List *l;
2495 Zone *zone;
2496 EINA_LIST_FOREACH(zones, l, zone) 2494 EINA_LIST_FOREACH(zones, l, zone)
2497 { 2495 {
2498 if (!platform_funcs->zone_setup(zone)) 2496 if (!platform_funcs->zone_setup(zone))
@@ -2566,7 +2564,7 @@ elm_main(int argc, char **argv)
2566 { 2564 {
2567 while (zones) 2565 while (zones)
2568 { 2566 {
2569 Zone *zone = zones->data; 2567 zone = zones->data;
2570 evas_object_del(zone->win); 2568 evas_object_del(zone->win);
2571 } 2569 }
2572 } 2570 }
diff --git a/src/bin/platform-x.c b/src/bin/platform-x.c
index f302f51..b7d34bf 100644
--- a/src/bin/platform-x.c
+++ b/src/bin/platform-x.c
@@ -246,7 +246,6 @@ x_post_setup(void)
246{ 246{
247 const Eina_List *l; 247 const Eina_List *l;
248 const Zone *zone; 248 const Zone *zone;
249 void *ptr;
250 249
251 if (eina_list_count(zones) > 1) 250 if (eina_list_count(zones) > 1)
252 { 251 {