Skip to content

Commit

Permalink
rgw: removed unused RunBucketSourcesSync::ret
Browse files Browse the repository at this point in the history
added with yield_spawn_window() and drain_all_cb() but shadowed by the
'int ret' parameter in both callbacks

Signed-off-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley committed Jan 29, 2021
1 parent 713f79f commit d977b1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rgw/rgw_data_sync.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,6 @@ class RGWRunBucketSourcesSyncCR : public RGWCoroutine {
RGWRESTConn *conn{nullptr};
rgw_zone_id last_zone;

int ret{0};

int source_num_shards{0};
int target_num_shards{0};

Expand Down

0 comments on commit d977b1d

Please sign in to comment.