diff options
Diffstat (limited to 'cpp/src/IceBox/Admin.cpp')
-rw-r--r-- | cpp/src/IceBox/Admin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/IceBox/Admin.cpp b/cpp/src/IceBox/Admin.cpp index 89d8512c663..55ac3cf2729 100644 --- a/cpp/src/IceBox/Admin.cpp +++ b/cpp/src/IceBox/Admin.cpp @@ -155,9 +155,7 @@ Client::run(int argc, char* argv[]) } } - - vector<string>::const_iterator r; - for(r = commands.begin(); r != commands.end(); ++r) + for(vector<string>::const_iterator r = commands.begin(); r != commands.end(); ++r) { if((*r) == "shutdown") { |