diff options
author | David Robillard <d@drobilla.net> | 2011-11-07 20:28:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-07 20:28:29 +0000 |
commit | aa179d14d359f76a7ad4d827ca6707c5cba46763 (patch) | |
tree | f5022058d70747198089d05dd21dd2c00af190d5 | |
parent | 0719e3780344c2ecd73ec476d955aaa78bd9d074 (diff) | |
download | patchage-aa179d14d359f76a7ad4d827ca6707c5cba46763.tar.gz patchage-aa179d14d359f76a7ad4d827ca6707c5cba46763.tar.bz2 patchage-aa179d14d359f76a7ad4d827ca6707c5cba46763.zip |
Fix warning.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3603 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/DBus.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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; } |