Skip to content

Commit

Permalink
Fixed warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
  • Loading branch information
Adam Kupczyk committed Nov 2, 2016
1 parent 8548241 commit 867917c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/rgw/rgw_op.cc
Expand Up @@ -788,7 +788,6 @@ int RGWGetObj::read_user_manifest_part(rgw_bucket& bucket,

int64_t cur_ofs = start_ofs;
int64_t cur_end = end_ofs;
utime_t start_time = s->time;

rgw_obj part(bucket, ent.key);

Expand Down Expand Up @@ -2817,7 +2816,6 @@ void RGWPutObj::execute()

off_t fst;
off_t lst;
int res;
bool compression_enabled;
boost::optional<RGWPutObj_Compress> compressor;

Expand Down
2 changes: 0 additions & 2 deletions src/rgw/rgw_rados.cc
Expand Up @@ -6759,8 +6759,6 @@ static void set_copy_attrs(map<string, bufferlist>& src_attrs,
int RGWRados::rewrite_obj(RGWBucketInfo& dest_bucket_info, rgw_obj& obj)
{
map<string, bufferlist> attrset;
int64_t ofs = 0;
int64_t end = -1;

real_time mtime;
uint64_t obj_size;
Expand Down

0 comments on commit 867917c

Please sign in to comment.