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 578ad5c..b3cf2a7 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;