From: seoz Date: Mon, 27 Jun 2011 03:03:16 +0000 (+0000) Subject: elm route: Fixed warnings. X-Git-Tag: REL_F_I9200_20110722_1~8^2~50^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec9691bfed5c63e7905e1d91b424347ed2073914;p=framework%2Fuifw%2Felementary.git elm route: Fixed warnings. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60716 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_route.c b/src/lib/elm_route.c index a404d41..e0f5f63 100644 --- a/src/lib/elm_route.c +++ b/src/lib/elm_route.c @@ -47,12 +47,13 @@ static void _mirrored_set(Evas_Object *obj, Eina_Bool rtl); static void _theme_hook(Evas_Object *obj); static void _sizing_eval(Evas_Object *obj); static void _clear_route(Evas_Object *obj); +#ifdef ELM_EMAP static void _update_lon_lat_min_max(Evas_Object *obj, double lon, double lat); +#endif static void _del_hook(Evas_Object *obj) { - Evas_Object *segment; Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; @@ -68,7 +69,7 @@ _resize_cb(void *data __UNUSED__ , Evas *e __UNUSED__, Evas_Object *obj, void *e } static void -_mirrored_set(Evas_Object *obj, Eina_Bool rtl) +_mirrored_set(Evas_Object *obj, Eina_Bool rtl __UNUSED__) { Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; @@ -139,6 +140,7 @@ _clear_route(Evas_Object *obj) } } +#ifdef ELM_EMAP static void _update_lon_lat_min_max(Evas_Object *obj, double lon, double lat) { @@ -166,6 +168,7 @@ _update_lon_lat_min_max(Evas_Object *obj, double lon, double lat) wd->must_calc_segments = EINA_TRUE; } } +#endif /** * Add a new route to the parent @@ -181,7 +184,6 @@ elm_route_add(Evas_Object *parent) Evas_Object *obj; Evas *e; Widget_Data *wd; - Evas_Object *icon; ELM_WIDGET_STANDARD_SETUP(wd, Widget_Data, parent, e, obj, NULL);