aboutsummaryrefslogtreecommitdiffstats
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
parentFix compilation. (diff)
downloaderuler-7620f760baeea60cccb6b92573ca90201c978eca.tar.gz
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)
{
int fx, fy, fw, fh, zx, zy, zw, zh, stride, iw, ih;
unsigned int *pixels, color;
- char buf[32];
zw = zone->zoom.ideal_size.w < zone->w / 4 ?
zone->zoom.ideal_size.w : zone->w / 4;
@@ -2492,7 +2491,6 @@ elm_main(int argc, char **argv)
else
{
Eina_List *l;
- Zone *zone;
EINA_LIST_FOREACH(zones, l, zone)
{
if (!platform_funcs->zone_setup(zone))
@@ -2566,7 +2564,7 @@ elm_main(int argc, char **argv)
{
while (zones)
{
- Zone *zone = zones->data;
+ zone = zones->data;
evas_object_del(zone->win);
}
}
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)
{
const Eina_List *l;
const Zone *zone;
- void *ptr;
if (eina_list_count(zones) > 1)
{