New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw/rgw_op: fix whitespace and indentation warning #15928

Merged
merged 2 commits into from Jun 27, 2017

Conversation

Projects
None yet
3 participants
@liewegas
Member

liewegas commented Jun 26, 2017

No description provided.

liewegas added some commits Jun 26, 2017

rgw/rgw_op: fix indentation warning
/home/sage/src/ceph2/src/rgw/rgw_op.cc: In member function ‘virtual void RGWDeleteObjTags::execute()’:
/home/sage/src/ceph2/src/rgw/rgw_op.cc:777:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if (s->object.empty())
   ^~
/home/sage/src/ceph2/src/rgw/rgw_op.cc:780:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
     rgw_obj obj;
     ^~~~~~~

Signed-off-by: Sage Weil <sage@redhat.com>
rgw/rgw_op: fix some more whitespace
Signed-off-by: Sage Weil <sage@redhat.com>

@liewegas liewegas requested a review from theanalyst Jun 26, 2017

@theanalyst

thanks for the cleanup!

@cbodley cbodley merged commit c30b28f into ceph:master Jun 27, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
default Build finished.
Details
make check make check succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment