summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/RubyUtil.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-01-11 00:37:06 +0100
committerJose <jose@zeroc.com>2013-01-11 00:37:06 +0100
commit047677f816eb972a75213f3ed62dfc03368c2736 (patch)
tree93b55e4a0a749515d10b79a911929fef14154fb7 /cpp/src/Slice/RubyUtil.cpp
parentOS X installer relocation issues (diff)
downloadice-047677f816eb972a75213f3ed62dfc03368c2736.tar.bz2
ice-047677f816eb972a75213f3ed62dfc03368c2736.tar.xz
ice-047677f816eb972a75213f3ed62dfc03368c2736.zip
Fixed (ICE-5181) - unreferenced formal parameter
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r--cpp/src/Slice/RubyUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp
index a79c0713502..4575457d935 100644
--- a/cpp/src/Slice/RubyUtil.cpp
+++ b/cpp/src/Slice/RubyUtil.cpp
@@ -177,7 +177,7 @@ Slice::Ruby::CodeVisitor::visitModuleStart(const ModulePtr& p)
}
void
-Slice::Ruby::CodeVisitor::visitModuleEnd(const ModulePtr& p)
+Slice::Ruby::CodeVisitor::visitModuleEnd(const ModulePtr&)
{
_out.dec();
_out << nl << "end";
@@ -1431,7 +1431,7 @@ Slice::Ruby::CodeVisitor::getInitializer(const TypePtr& p)
}
void
-Slice::Ruby::CodeVisitor::writeHash(const string& name, const TypePtr& p, int& iter)
+Slice::Ruby::CodeVisitor::writeHash(const string& name, const TypePtr&, int&)
{
_out << nl << "_h = 5 * _h + " << name << ".hash";
}