Fix most of the warnings with -Wextra -Wshadow

This commit is contained in:
Hubert Figuiere 2009-07-19 18:42:18 -04:00
parent e2cde7d225
commit 340dc8a667
22 changed files with 154 additions and 147 deletions

View file

@ -61,7 +61,7 @@ Message IntrospectableAdaptor::Introspect(const CallMessage &call)
{
debug_log("introspecting interface %s", iti->first.c_str());
IntrospectedInterface *const intro = iti->second->introspect();
const IntrospectedInterface * intro = iti->second->introspect();
if (intro)
{
xml << "\n\t<interface name=\"" << intro->name << "\">";
@ -144,7 +144,7 @@ Message IntrospectableAdaptor::Introspect(const CallMessage &call)
return reply;
}
IntrospectedInterface *const IntrospectableAdaptor::introspect() const
const IntrospectedInterface * IntrospectableAdaptor::introspect() const
{
static IntrospectedArgument Introspect_args[] =
{