[pulseaudio-discuss] [PATCHv2 10/60] Revert "bluetooth: Fix error checking style"

jprvita at gmail.com jprvita at gmail.com
Mon Aug 12 21:53:48 PDT 2013


From: João Paulo Rechi Vita <jprvita at openbossa.org>

This reverts commit d9ed42c40f744b273c8d466e95dd4a06e41364b9.

This is part of the reversion of BlueZ 5 support so it can be added back
in a separate set of modules. This makes the code easier to maintain and
decrease PulseAudio's binary size.
---
 src/modules/bluetooth/bluetooth-util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 422f85f..4765a12 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -906,7 +906,7 @@ static int parse_device_properties(pa_bluetooth_device *d, DBusMessageIter *i, b
 
         dbus_message_iter_recurse(&element_i, &dict_i);
 
-        if (parse_device_property(d, &dict_i, is_property_change) < 0)
+        if (parse_device_property(d, &dict_i, is_property_change))
             ret = -1;
 
         dbus_message_iter_next(&element_i);
-- 
1.7.11.7



More information about the pulseaudio-discuss mailing list