[at-spi2-atk] droute: Fix compile-time warnings



commit 0473224d67988e34a43495a1ab582cc95bc68a8d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 13 18:05:49 2012 +0100

    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 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++)
       {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]