From: seoz Date: Tue, 10 May 2011 12:59:57 +0000 (+0000) Subject: Elementary slideshow: Fixed warnings. Removed unnecessary line. X-Git-Tag: REL_F_I9500_20120323_1~17^2~2762 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=240a3bc6c7ff38f45e6fd01a01f6a9a439f7acd2;p=framework%2Fuifw%2Felementary.git Elementary slideshow: Fixed warnings. Removed unnecessary line. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59309 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_slideshow.c b/src/lib/elm_slideshow.c index 8d68ad7..e15622b 100644 --- a/src/lib/elm_slideshow.c +++ b/src/lib/elm_slideshow.c @@ -971,7 +971,7 @@ elm_slideshow_cache_after_set(Evas_Object *obj, int count) EAPI Elm_Slideshow_Item * elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) { - ELM_CHECK_WIDTYPE(obj, widtype); + ELM_CHECK_WIDTYPE(obj, widtype) NULL; Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return NULL; return eina_list_nth(wd->items, nth); @@ -988,9 +988,8 @@ elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EAPI unsigned int elm_slideshow_count_get(const Evas_Object *obj) { - ELM_CHECK_WIDTYPE(obj, widtype); + ELM_CHECK_WIDTYPE(obj, widtype) 0; Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return 0; return eina_list_count(wd->items); } -