mirror of
https://github.com/ceph/ceph
synced 2025-01-02 09:02:34 +00:00
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:
commit
99060b2e56
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user