From 5ff86cd79244bdacbf856a076e9719b0e6ffc13d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 12 Sep 2007 09:13:39 +0000 Subject: ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug. Original commit message from CVS: * ext/gconf/gstgconfaudiosink.c: Fix warning when building without debug. * sys/oss/gstossmixertrack.c: Use const like in alsamixertrack.c (fixes warnings). --- ext/gconf/gstgconfaudiosink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext') diff --git a/ext/gconf/gstgconfaudiosink.c b/ext/gconf/gstgconfaudiosink.c index 0737af67..a8bf3305 100644 --- a/ext/gconf/gstgconfaudiosink.c +++ b/ext/gconf/gstgconfaudiosink.c @@ -206,10 +206,8 @@ gst_gconf_switch_profile (GstGConfAudioSink * sink, GstGConfProfile profile) return; if (sink->connection) { - const gchar *key = gst_gconf_get_key_for_sink_profile (sink->profile); - GST_DEBUG_OBJECT (sink, "Unsubscribing old key %s for profile %d", - key, sink->profile); + gst_gconf_get_key_for_sink_profile (sink->profile), sink->profile); gconf_client_notify_remove (sink->client, sink->connection); sink->connection = 0; } -- cgit