diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-01-06 18:16:35 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-01-06 18:16:35 +0000 |
commit | e278e1613a0cc442b316ba26914dcf26a8e8243f (patch) | |
tree | 8225ce18fc89466b6c3ead500199085f2eb6a221 /cpp/src/IceGrid/Parser.cpp | |
parent | Fixing a bug where the makebindist script wasn't makedist'ing vb (diff) | |
download | ice-e278e1613a0cc442b316ba26914dcf26a8e8243f.tar.bz2 ice-e278e1613a0cc442b316ba26914dcf26a8e8243f.tar.xz ice-e278e1613a0cc442b316ba26914dcf26a8e8243f.zip |
Fixed SunOS C++ compiler warnings (bug 723)
Diffstat (limited to 'cpp/src/IceGrid/Parser.cpp')
-rw-r--r-- | cpp/src/IceGrid/Parser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Parser.cpp b/cpp/src/IceGrid/Parser.cpp index 2cf817d3c2a..4a48c07a0f9 100644 --- a/cpp/src/IceGrid/Parser.cpp +++ b/cpp/src/IceGrid/Parser.cpp @@ -946,8 +946,7 @@ Parser::endpointsAdapter(const list<string>& args) try { - list<string>::const_iterator p = args.begin(); - string adapterId = *p++; + string adapterId = args.front(); StringObjectProxyDict proxies = _admin->getAdapterEndpoints(adapterId); if(proxies.size() == 1 && proxies.begin()->first == adapterId) { |