# HG changeset patch # User Matti Hamalainen # Date 1213323039 -10800 # Node ID bbb873e9a35b36ad0e2db213e8667ab62423eaab # Parent 8510e7d242f0813547bf31151b936e25e75f009f De-constify and remove an unused variable. diff -r 8510e7d242f0 -r bbb873e9a35b src/audacious/dbus.c --- 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;