summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-01-09 08:37:41 +0100
committerCedric BAIL <cedric.bail@samsung.com>2014-01-10 16:35:47 +0900
commite86a89aa5278cd3bde65e49226eff3285a97490b (patch)
tree4479c97abdaf72899148dd544e43c4a81ffc1d54 /src/examples
parent6871f93e2ff2aa59a7bc227908f58f1cf047d7f8 (diff)
examples: remove unused variables and label
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eet/eet-data-file_descriptor_01.c4
-rw-r--r--src/examples/evas/evas-map-utils.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/examples/eet/eet-data-file_descriptor_01.c b/src/examples/eet/eet-data-file_descriptor_01.c
index 2972b812f7..4f7291e0a3 100644
--- a/src/examples/eet/eet-data-file_descriptor_01.c
+++ b/src/examples/eet/eet-data-file_descriptor_01.c
@@ -259,7 +259,6 @@ _my_cache_account_free_cb(const Eina_Hash *hash EINA_UNUSED,
259static void 259static void
260_my_cache_free(My_Cache *my_cache) 260_my_cache_free(My_Cache *my_cache)
261{ 261{
262 My_Account *acc;
263 eina_hash_foreach(my_cache->accounts, _my_cache_account_free_cb, NULL); 262 eina_hash_foreach(my_cache->accounts, _my_cache_account_free_cb, NULL);
264 eina_hash_free(my_cache->accounts); 263 eina_hash_free(my_cache->accounts);
265 free(my_cache); 264 free(my_cache);
@@ -367,7 +366,6 @@ main(int argc,
367 char *argv[]) 366 char *argv[])
368{ 367{
369 My_Cache *my_cache; 368 My_Cache *my_cache;
370 const Eina_List *l_acc;
371 Eina_Iterator *it; 369 Eina_Iterator *it;
372 My_Account *acc; 370 My_Account *acc;
373 int ret = 0; 371 int ret = 0;
@@ -469,8 +467,6 @@ main(int argc,
469 it = eina_hash_iterator_data_new(my_cache->accounts); 467 it = eina_hash_iterator_data_new(my_cache->accounts);
470 EINA_ITERATOR_FOREACH(it, acc) 468 EINA_ITERATOR_FOREACH(it, acc)
471 { 469 {
472 const My_Post *post;
473
474 printf("\t > %-#8x '%.20s' stats: m=%u, p=%u\n", 470 printf("\t > %-#8x '%.20s' stats: m=%u, p=%u\n",
475 acc->id, acc->name ? acc->name : "", 471 acc->id, acc->name ? acc->name : "",
476 eina_list_count(acc->messages), 472 eina_list_count(acc->messages),
diff --git a/src/examples/evas/evas-map-utils.c b/src/examples/evas/evas-map-utils.c
index 7f8b2526f8..db8202386d 100644
--- a/src/examples/evas/evas-map-utils.c
+++ b/src/examples/evas/evas-map-utils.c
@@ -57,7 +57,6 @@ _anim_cb(void *data)
57{ 57{
58 App_Data *ad = data; 58 App_Data *ad = data;
59 Evas_Map *m; 59 Evas_Map *m;
60 const Evas_Map *old_map;
61 Evas_Object *o; 60 Evas_Object *o;
62 int r, g, b, a; 61 int r, g, b, a;
63 int win_w, win_h, img_w, img_h; 62 int win_w, win_h, img_w, img_h;
@@ -323,7 +322,6 @@ main(void)
323error: 322error:
324 fprintf(stderr, "you got to have at least one evas engine built and linked" 323 fprintf(stderr, "you got to have at least one evas engine built and linked"
325 " up to ecore-evas for this example to run properly.\n"); 324 " up to ecore-evas for this example to run properly.\n");
326panic:
327 ecore_evas_shutdown(); 325 ecore_evas_shutdown();
328 return -1; 326 return -1;
329} 327}