projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d63437
)
[store] fix warning, simplify code
author
Mike McCormack
<mj.mccormack@samsung.com>
Fri, 4 Nov 2011 04:03:03 +0000
(13:03 +0900)
committer
Mike McCormack
<mj.mccormack@samsung.com>
Fri, 4 Nov 2011 04:03:03 +0000
(13:03 +0900)
src/lib/elm_store.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_store.c
b/src/lib/elm_store.c
index
a2d5d38
..
16fcc9b
100644
(file)
--- 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;
}
/**