From: Bastien Nocera Date: Wed, 13 Jun 2012 17:05:49 +0000 (+0100) Subject: droute: Fix compile-time warnings X-Git-Tag: AT_SPI2_ATK_2_12_0~63 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=0473224d67988e34a43495a1ab582cc95bc68a8d droute: Fix compile-time warnings Unused variables and discarding 'const' qualifier. https://bugzilla.gnome.org/show_bug.cgi?id=678045 --- 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++) {