summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-11-03 20:55:32 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-11-03 20:55:32 +0000
commit7e56879ba0f4c4adda30706ff5c561905d265ecc (patch)
tree4f39be5cbfd6b5148d075b6932989c99853227cc /cpp/src/IceGrid/ServerI.cpp
parentChanged the Ice locator interface to be backward compatible. (diff)
downloadice-7e56879ba0f4c4adda30706ff5c561905d265ecc.tar.bz2
ice-7e56879ba0f4c4adda30706ff5c561905d265ecc.tar.xz
ice-7e56879ba0f4c4adda30706ff5c561905d265ecc.zip
Fixes
Diffstat (limited to 'cpp/src/IceGrid/ServerI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ServerI.cpp b/cpp/src/IceGrid/ServerI.cpp
index 610be0101c4..6530be0a644 100644
--- a/cpp/src/IceGrid/ServerI.cpp
+++ b/cpp/src/IceGrid/ServerI.cpp
@@ -1228,7 +1228,7 @@ ServerI::updateImpl()
{
removeRecursive(_serverDir);
}
- catch(const string& msg)
+ catch(const string&)
{
}
}
@@ -1803,9 +1803,9 @@ ServerI::updateConfigFile(const string& serverDir, const CommunicatorDescriptorP
ex.reason = "couldn't create configuration file: " + configFilePath;
throw ex;
}
- for(PropertyDescriptorSeq::const_iterator p = props.begin(); p != props.end(); ++p)
+ for(PropertyDescriptorSeq::const_iterator r = props.begin(); r != props.end(); ++r)
{
- configfile << p->name << "=" << p->value << endl;
+ configfile << r->name << "=" << r->value << endl;
}
configfile.close();
}