projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906e99b
)
reserve: Fix compile warning when compiling without dbus
author
Colin Guthrie
<colin@mageia.org>
Sun, 17 Jul 2011 17:14:52 +0000
(18:14 +0100)
committer
Colin Guthrie
<colin@mageia.org>
Wed, 20 Jul 2011 21:23:11 +0000
(22:23 +0100)
src/modules/reserve-wrap.c
patch
|
blob
|
history
diff --git
a/src/modules/reserve-wrap.c
b/src/modules/reserve-wrap.c
index
4be19c7
..
515cb22
100644
(file)
--- 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);