summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_client_io.cc
diff options
context:
space:
mode:
authorYankunLi <lioveni99@gmail.com>2017-02-08 06:09:16 +0100
committerYankunLi <lioveni99@gmail.com>2017-02-08 06:09:16 +0100
commit40d7188e4ea4ae0b71434d25fc44642ada33843e (patch)
tree7368911e76a2174e074e81a9ea72f02332283152 /src/rgw/rgw_client_io.cc
parentMerge pull request #13279 from smithfarm/wip-fix-regression (diff)
downloadceph-40d7188e4ea4ae0b71434d25fc44642ada33843e.tar.xz
ceph-40d7188e4ea4ae0b71434d25fc44642ada33843e.zip
rgw:clean redundant code
Signed-off-by: Yankun Li <lioveni99@gmail.com>
Diffstat (limited to 'src/rgw/rgw_client_io.cc')
-rw-r--r--src/rgw/rgw_client_io.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_client_io.cc b/src/rgw/rgw_client_io.cc
index da501307838..21c9096c44e 100644
--- a/src/rgw/rgw_client_io.cc
+++ b/src/rgw/rgw_client_io.cc
@@ -17,7 +17,7 @@ void BasicClient::init(CephContext *cct) {
if (cct->_conf->subsys.should_gather(ceph_subsys_rgw, 20)) {
std::map<string, string, ltstr_nocase>& env_map = get_env().get_map();
- std::map<string, string, ltstr_nocase>::iterator iter = env_map.begin();
+ std::map<string, string, ltstr_nocase>::iterator iter;
for (iter = env_map.begin(); iter != env_map.end(); ++iter) {
ldout(cct, 20) << iter->first << "=" << iter->second << dendl;