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: silence warning from -Wmaybe-uninitialized #15949

Merged
merged 1 commit into from Jul 6, 2017

Conversation

Projects
None yet
3 participants
@joscollin
Member

joscollin commented Jun 27, 2017

The following warning appears during build:

ceph/src/rgw/rgw_rest.cc: In member function ‘virtual int RGWHandler_REST::read_permissions(RGWOp*)’:
ceph/src/rgw/rgw_rest.cc:1919:8: warning: ‘only_bucket’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   bool only_bucket;

Signed-off-by: Jos Collin jcollin@redhat.com

rgw: silence warning from -Wmaybe-uninitialized
The following warning appears during build:
ceph/src/rgw/rgw_rest.cc: In member function ‘virtual int RGWHandler_REST::read_permissions(RGWOp*)’:
ceph/src/rgw/rgw_rest.cc:1919:8: warning: ‘only_bucket’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   bool only_bucket;

Signed-off-by: Jos Collin <jcollin@redhat.com>

@joscollin joscollin added the needs-qa label Jun 28, 2017

@yuriw yuriw merged commit d19ece9 into ceph:master Jul 6, 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

@joscollin joscollin deleted the joscollin:wip-cleanup-rgw-rest-warning branch Jul 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment