From aa179d14d359f76a7ad4d827ca6707c5cba46763 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Nov 2011 20:28:29 +0000 Subject: Fix warning. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3603 a436a847-0d15-0410-975c-d299462d15a1 --- src/DBus.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/DBus.cpp b/src/DBus.cpp index a2bafbe..cc7b5ae 100644 --- a/src/DBus.cpp +++ b/src/DBus.cpp @@ -100,12 +100,10 @@ DBus::call( int in_type, ...) { - bool ret; va_list ap; - va_start(ap, in_type); - ret = _app->dbus()->call( + bool ret = _app->dbus()->call( response_expected, serivce, object, @@ -117,5 +115,5 @@ DBus::call( va_end(ap); - return (ap != NULL); + return ret; } -- cgit v1.2.1