savio pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=7cbef5890d6eab0e047f339e9f34ae0ff4ae0c77
commit 7cbef5890d6eab0e047f339e9f34ae0ff4ae0c77 Author: Savio Sena <[email protected]> Date: Wed Sep 17 20:23:35 2014 -0300 examples: Remove a warning during release compilation. --- src/examples/index_example_01.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/examples/index_example_01.c b/src/examples/index_example_01.c index 8369a3a..5f44897 100644 --- a/src/examples/index_example_01.c +++ b/src/examples/index_example_01.c @@ -114,7 +114,7 @@ elm_main(int argc, char **argv) if (curr != dict[i][0]) { - Elm_Object_Item *index_it, *it; + Elm_Object_Item *index_it; char buf[32]; curr = dict[i][0]; @@ -124,8 +124,8 @@ elm_main(int argc, char **argv) index_it = elm_index_item_append(id, buf, NULL, lit); /* this is here just to demostrate the API call */ - it = elm_index_item_find(id, lit); - assert(it == index_it); + (void)elm_index_item_find(id, lit); + assert(elm_index_item_find(id, lit) == index_it); elm_object_item_del_cb_set(index_it, _index_item_del); } --
