elm_access.c: Removed dead code.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 8 Oct 2013 10:57:40 +0000 (19:57 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 8 Oct 2013 10:57:42 +0000 (19:57 +0900)
ho cannot be null.
This fixes coverity CID 1046506.

src/lib/elm_access.c

index 578ad5cd1ccf2988cdfbc74fd3a3cc9317423e89..b3cf2a705937e578da6870abe6a7186e0c7d715a 100644 (file)
@@ -665,8 +665,7 @@ _elm_access_highlight_cycle(Evas_Object *obj, Elm_Focus_Direction dir)
 
    action_by = type;
 
-   if (!ho) elm_widget_focus_cycle(obj, dir);
-   else if (!_access_action_callback_call(ho, type, NULL))
+   if (!_access_action_callback_call(ho, type, NULL))
      {
         Elm_Access_Info *info = _elm_access_info_get(ho);
         Evas_Object *comming = NULL;