summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-07-05 16:45:01 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-07-05 16:45:01 +0200
commitf7aa8876cc54aca4d55f572332755b443c986276 (patch)
tree13d417a59647788e28c62a351acd8a37ec7b634d
parent73b9ca1da05bd1722625cc647875b53a1675f6f6 (diff)
examples: fix some unused vars warnings
-rw-r--r--examples/demoapp.c4
-rw-r--r--examples/simplegraph.c3
2 files changed, 1 insertions, 6 deletions
diff --git a/examples/demoapp.c b/examples/demoapp.c
index 70a3971..8a089ab 100644
--- a/examples/demoapp.c
+++ b/examples/demoapp.c
@@ -61,9 +61,6 @@ _cb_add_500edges(void *data, Evas_Object *obj, void *event_info)
61static void 61static void
62_cb_del_edges(void *data, Evas_Object *obj, void *event_info) 62_cb_del_edges(void *data, Evas_Object *obj, void *event_info)
63{ 63{
64 Eina_List *l;
65 Egraph_Vertice *v;
66
67 if (!_egraph) 64 if (!_egraph)
68 return; 65 return;
69 66
@@ -92,7 +89,6 @@ _cb_send_100blobs(void *data, Evas_Object *obj, void *event_info)
92{ 89{
93 Egraph_Vertice *a, *b; 90 Egraph_Vertice *a, *b;
94 Egraph_Edge *e; 91 Egraph_Edge *e;
95 Eina_List *l;
96 int nvertices, nedges, i; 92 int nvertices, nedges, i;
97 93
98 nvertices = eina_list_count(_vertice_list); 94 nvertices = eina_list_count(_vertice_list);
diff --git a/examples/simplegraph.c b/examples/simplegraph.c
index 43e6d59..2442574 100644
--- a/examples/simplegraph.c
+++ b/examples/simplegraph.c
@@ -29,7 +29,6 @@ main(void)
29 Ecore_Evas *ee; 29 Ecore_Evas *ee;
30 Evas *evas; 30 Evas *evas;
31 Egraph_Vertice *a, *b; 31 Egraph_Vertice *a, *b;
32 Egraph_Edge *e;
33 32
34 if (!ecore_evas_init()) 33 if (!ecore_evas_init())
35 return EXIT_FAILURE; 34 return EXIT_FAILURE;
@@ -47,7 +46,7 @@ main(void)
47 46
48 a = egraph_vertice_add(_egraph_obj, "a", NULL); 47 a = egraph_vertice_add(_egraph_obj, "a", NULL);
49 b = egraph_vertice_add(_egraph_obj, "b", NULL); 48 b = egraph_vertice_add(_egraph_obj, "b", NULL);
50 e = egraph_edge_add(_egraph_obj, a, b, NULL); 49 egraph_edge_add(_egraph_obj, a, b, NULL);
51 50
52 ecore_main_loop_begin(); 51 ecore_main_loop_begin();
53 52