summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-18 22:33:37 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-18 22:33:37 +0900
commit8d13aba7b46e3dfc47b3b619959c711e166af276 (patch)
tree1da42db458db5adbbfde53165dd8940833f9d24d /src
parentede6a372004ee0c5a9f2706c559cb785e19ee8db (diff)
elc_hoversel.c: use int_ret instead of ret because ret can be null.
This fixes coverity CID 1129609 and 1129610.
Diffstat (limited to 'src')
-rw-r--r--src/lib/elc_hoversel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index 2ca3465fe..d5153ca50 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -603,11 +603,12 @@ _elm_hoversel_smart_event(Eo *obj, void *_pd, va_list *list)
603 void *event_info = va_arg(*list, void *); 603 void *event_info = va_arg(*list, void *);
604 Eina_Bool *ret = va_arg(*list, Eina_Bool *); 604 Eina_Bool *ret = va_arg(*list, Eina_Bool *);
605 if (ret) *ret = EINA_FALSE; 605 if (ret) *ret = EINA_FALSE;
606 Eina_Bool int_ret = EINA_FALSE;
606 Evas_Event_Key_Down *ev = event_info; 607 Evas_Event_Key_Down *ev = event_info;
607 Elm_Hoversel_Smart_Data *sd = _pd; 608 Elm_Hoversel_Smart_Data *sd = _pd;
608 609
609 eo_do_super(obj, MY_CLASS, elm_wdg_event(src, type, event_info, ret)); 610 eo_do_super(obj, MY_CLASS, elm_wdg_event(src, type, event_info, &int_ret));
610 if (*ret) return; 611 if (int_ret) return;
611 612
612 if (!sd || !sd->hover) return; 613 if (!sd || !sd->hover) return;
613 if (elm_widget_disabled_get(obj)) return; 614 if (elm_widget_disabled_get(obj)) return;