Skip to content

Commit

Permalink
rgw_rados.cc: remove dead assignment / unused variable 'obj_name'
Browse files Browse the repository at this point in the history
Fix for:
[src/rgw/rgw_main.cc:1086]: (style) Variable 'frontend_frameworks'
 is assigned a value that is never used.

Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed May 11, 2014
1 parent 10e6d6e commit b731c47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/rgw/rgw_rados.cc
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,6 @@ int RGWObjManifest::generator::create_next(uint64_t ofs)
if (ofs < last_ofs) /* only going forward */
return -EINVAL;

string obj_name = manifest->prefix;

uint64_t max_head_size = manifest->get_max_head_size();

if (ofs <= max_head_size) {
Expand All @@ -791,7 +789,6 @@ int RGWObjManifest::generator::create_next(uint64_t ofs)
last_ofs = ofs;
manifest->set_obj_size(ofs);


manifest->get_implicit_location(cur_part_id, cur_stripe, ofs, NULL, &cur_obj);

manifest->update_iterators();
Expand Down

0 comments on commit b731c47

Please sign in to comment.