From: Colin Guthrie Date: Sun, 17 Jul 2011 17:14:52 +0000 (+0100) Subject: reserve: Fix compile warning when compiling without dbus X-Git-Tag: 1.0_branch~487 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf0bf5a4c25fc363476620fd875da333e140dd8f;p=profile%2Fivi%2Fpulseaudio.git reserve: Fix compile warning when compiling without dbus --- diff --git a/src/modules/reserve-wrap.c b/src/modules/reserve-wrap.c index 4be19c7..515cb22 100644 --- a/src/modules/reserve-wrap.c +++ b/src/modules/reserve-wrap.c @@ -105,9 +105,9 @@ static int request_cb(rd_device *d, int forced) { pa_reserve_wrapper* pa_reserve_wrapper_get(pa_core *c, const char *device_name) { pa_reserve_wrapper *r; - int k; char *t; #ifdef HAVE_DBUS + int k; DBusError error; dbus_error_init(&error); @@ -248,9 +248,9 @@ static void change_cb(rm_monitor *m) { pa_reserve_monitor_wrapper* pa_reserve_monitor_wrapper_get(pa_core *c, const char *device_name) { pa_reserve_monitor_wrapper *w; - int k; char *t; #ifdef HAVE_DBUS + int k; DBusError error; dbus_error_init(&error);