summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-09-17 20:23:35 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-09-17 20:28:05 -0300
commit7cbef5890d6eab0e047f339e9f34ae0ff4ae0c77 (patch)
treeb1c2e472a117b969164f2a1e86fb8345318d3e07
parent2baec9d86a836e423ea0485ef884337f7987d293 (diff)
examples: Remove a warning during release compilation.
-rw-r--r--src/examples/index_example_01.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/index_example_01.c b/src/examples/index_example_01.c
index 8369a3a7c..5f44897e6 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)
114 114
115 if (curr != dict[i][0]) 115 if (curr != dict[i][0])
116 { 116 {
117 Elm_Object_Item *index_it, *it; 117 Elm_Object_Item *index_it;
118 char buf[32]; 118 char buf[32];
119 119
120 curr = dict[i][0]; 120 curr = dict[i][0];
@@ -124,8 +124,8 @@ elm_main(int argc, char **argv)
124 index_it = elm_index_item_append(id, buf, NULL, lit); 124 index_it = elm_index_item_append(id, buf, NULL, lit);
125 125
126 /* this is here just to demostrate the API call */ 126 /* this is here just to demostrate the API call */
127 it = elm_index_item_find(id, lit); 127 (void)elm_index_item_find(id, lit);
128 assert(it == index_it); 128 assert(elm_index_item_find(id, lit) == index_it);
129 129
130 elm_object_item_del_cb_set(index_it, _index_item_del); 130 elm_object_item_del_cb_set(index_it, _index_item_del);
131 } 131 }