This patch modifies the dbusxx-xml2cpp's generate_adaptor function so
that it prevents generation of the MessageIter ri in cases where an
interface method has no input arguments.
By making this element conditional based on the presence of input
arguments we avoid "unused-but-set-variable" warning in code that uses
the DBus-C++ adaptor glue headers.
Change-Id: I0f04439bf7b2b3cecb9d639e61c2b6dedc148e51
Type: Code Improvement
- changed code formating from tabs to spaces and others
- used astyle with this option:
--style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux
From: thomas.himbacher <thomas.himbacher@gmail.com>
Date: Thu, 12 Aug 2010 18:13:26 +0200
Subject: [PATCH 1/3] removed wrong keyword const in adaptor generation
methods with several 'out' parameters have wrong
method signature with keywords 'const' for pass-by-reference
outputs.