summaryrefslogtreecommitdiff
path: root/droute
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-06-13 18:05:49 +0100
committerBastien Nocera <hadess@hadess.net>2012-10-11 15:27:12 +0200
commit0473224d67988e34a43495a1ab582cc95bc68a8d (patch)
tree9c6ee5ddac0815304dba1337956f7e6b35ab8c9c /droute
parent86cd0304fe038d48a79326aa0a338787c2752426 (diff)
downloadat-spi2-atk-0473224d67988e34a43495a1ab582cc95bc68a8d.tar.gz
droute: Fix compile-time warnings
Unused variables and discarding 'const' qualifier. https://bugzilla.gnome.org/show_bug.cgi?id=678045
Diffstat (limited to 'droute')
-rw-r--r--droute/droute.c3
1 files changed, 1 insertions, 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++)
{