From: Mike McCormack Date: Fri, 4 Nov 2011 04:03:03 +0000 (+0900) Subject: [store] fix warning, simplify code X-Git-Tag: REBUILDD-ARMEL-67367~86 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8fefbff06896f7f299cfd99771cb59b9a337450f;p=framework%2Fuifw%2Felementary.git [store] fix warning, simplify code --- diff --git a/src/lib/elm_store.c b/src/lib/elm_store.c index a2d5d38..16fcc9b 100644 --- a/src/lib/elm_store.c +++ b/src/lib/elm_store.c @@ -1821,9 +1821,8 @@ elm_store_item_index_get(const Elm_Store_Item *sti) index++; } } - else return -1; } - else return -1; + return -1; } /** @@ -1854,9 +1853,8 @@ elm_store_item_data_index_get(const Elm_Store_Item *sti) } gen_item = elm_genlist_item_next_get(gen_item); } - return -1; } - else return -1; + return -1; } /**