summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.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/IceGrid/ServerI.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/IceGrid/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 49b52c3e795..e5cd3a437d4 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -889,13 +889,13 @@ ServerI::stop_async(const AMD_Server_stopPtr& amdCB, const Ice::Current&)
}
void
-ServerI::sendSignal(const string& signal, const Ice::Current& current)
+ServerI::sendSignal(const string& signal, const Ice::Current&)
{
_node->getActivator()->sendSignal(_id, signal);
}
void
-ServerI::writeMessage(const string& message, Ice::Int fd, const Ice::Current& current)
+ServerI::writeMessage(const string& message, Ice::Int fd, const Ice::Current&)
{
Lock sync(*this);
checkDestroyed();
@@ -2466,8 +2466,13 @@ ServerI::checkNoRestart(const InternalServerDescriptorPtr& desc)
}
}
+#ifndef _WIN32
void
ServerI::checkAndUpdateUser(const InternalServerDescriptorPtr& desc, bool update)
+#else
+void
+ServerI::checkAndUpdateUser(const InternalServerDescriptorPtr& desc, bool /*update*/)
+#endif
{
#ifndef _WIN32
uid_t uid = getuid();