Merge pull request #13387 from Jing-Scott/clean-up-rgw-list-redundant-code

rgw: clean up the redundant assignment in last_entry_in_listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2017-02-22 11:47:33 -05:00 committed by GitHub
commit 99060b2e56

View File

@ -6109,7 +6109,7 @@ int RGWRados::on_last_entry_in_listing(RGWBucketInfo& bucket_info,
if (ret < 0) {
return ret;
} else if (!entries.empty()) {
last_entry = last_entry = entries.back();
last_entry = entries.back();
}
} while (is_truncated);