dbus-cplusplus/tools
James Harris 63c7175250 Remove warnings from generated adaptors.
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
2014-03-19 12:52:16 +01:00
..
generate_adaptor.cpp Remove warnings from generated adaptors. 2014-03-19 12:52:16 +01:00
generate_adaptor.h some header and include changes 2009-03-29 13:52:24 +02:00
generate_proxy.cpp - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
generate_proxy.h some header and include changes 2009-03-29 13:52:24 +02:00
generator_utils.cpp changed variable to oneliner because of astyle parser bug 2011-11-29 22:54:16 +01:00
generator_utils.h - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
introspect.cpp - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
introspect.h - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
Makefile.am sf.net bug: 3151031 xml2cpp needlessly includes and links dbus(-c++) 2011-11-28 00:32:34 +01:00
xml.cpp - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
xml.h - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
xml2cpp.cpp - NO FUNCTIONAL CODE CHANGES!!!! 2011-11-28 12:44:11 +01:00
xml2cpp.h sf.net bug: 3151031 xml2cpp needlessly includes and links dbus(-c++) 2011-11-28 00:32:34 +01:00