changeset 4638:bbb873e9a35b

De-constify and remove an unused variable.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 13 Jun 2008 05:10:39 +0300
parents 8510e7d242f0
children 0813d0d66627
files src/audacious/dbus.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/dbus.c	Fri Jun 13 05:09:21 2008 +0300
+++ b/src/audacious/dbus.c	Fri Jun 13 05:10:39 2008 +0300
@@ -211,7 +211,7 @@
     return NULL;
 }
 
-static void tuple_insert_to_hash(GHashTable *md, Tuple *tuple, const gchar *key)
+static void tuple_insert_to_hash(GHashTable *md, Tuple *tuple, gchar *key)
 {
     GValue *value = tuple_value_to_gvalue(tuple, key);
     if (value != NULL)
@@ -226,7 +226,6 @@
 
 GHashTable *mpris_metadata_from_tuple(Tuple *tuple) {
     GHashTable *md = NULL;
-    GValue *value;
 
     if (tuple == NULL)
         return NULL;