aboutsummaryrefslogtreecommitdiffstats
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
parentadd egraph_edge_type_get() and egraph_vertice_type_get() (diff)
downloadegraph-f7aa8876cc54aca4d55f572332755b443c986276.tar.gz
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)
static void
_cb_del_edges(void *data, Evas_Object *obj, void *event_info)
{
- Eina_List *l;
- Egraph_Vertice *v;
-
if (!_egraph)
return;
@@ -92,7 +89,6 @@ _cb_send_100blobs(void *data, Evas_Object *obj, void *event_info)
{
Egraph_Vertice *a, *b;
Egraph_Edge *e;
- Eina_List *l;
int nvertices, nedges, i;
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)
Ecore_Evas *ee;
Evas *evas;
Egraph_Vertice *a, *b;
- Egraph_Edge *e;
if (!ecore_evas_init())
return EXIT_FAILURE;
@@ -47,7 +46,7 @@ main(void)
a = egraph_vertice_add(_egraph_obj, "a", NULL);
b = egraph_vertice_add(_egraph_obj, "b", NULL);
- e = egraph_edge_add(_egraph_obj, a, b, NULL);
+ egraph_edge_add(_egraph_obj, a, b, NULL);
ecore_main_loop_begin();