From 0473224d67988e34a43495a1ab582cc95bc68a8d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 13 Jun 2012 18:05:49 +0100 Subject: [PATCH] droute: Fix compile-time warnings Unused variables and discarding 'const' qualifier. https://bugzilla.gnome.org/show_bug.cgi?id=678045 --- droute/droute.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/droute/droute.c b/droute/droute.c index 1567fc7..f1ff993 100644 --- a/droute/droute.c +++ b/droute/droute.c @@ -174,7 +174,6 @@ droute_add_one (DRouteContext *cnx, const void *data) { DRoutePath *new_path; - gboolean registered; new_path = path_new (cnx, path, FALSE, (void *)data, NULL, NULL, NULL); @@ -215,7 +214,7 @@ droute_path_add_interface(DRoutePath *path, itf = g_string_chunk_insert (path->chunks, name); g_ptr_array_add (path->interfaces, itf); - g_ptr_array_add (path->introspection, introspect); + g_ptr_array_add (path->introspection, (gpointer) introspect); for (; methods != NULL && methods->name != NULL; methods++) { -- 2.7.4