Skip to content
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

libradosstriper: silence warning from -Wreorder #16890

Merged
merged 1 commit into from Aug 8, 2017

Conversation

Songweibin
Copy link
Contributor

@Songweibin Songweibin commented Aug 8, 2017

warning: '{anonymous}::WriteCompletionData::m_unlockCompletion' will be initialized after [-Wreorder]
   librados::AioCompletion *m_unlockCompletion;
                            ^
/home/ceph-dev/src/libradosstriper/RadosStriperImpl.cc:252:7: warning:  'int {anonymous}::WriteCompletionData::m_writeRc' [-Wreorder]
   int m_writeRc;
       ^
/home/ceph-dev/src/libradosstriper/RadosStriperImpl.cc:271:1: warning:   when initialized here [-Wreorder]
 WriteCompletionData::WriteCompletionData
 ^

Signed-off-by: songweibin song.weibin@zte.com.cn

Signed-off-by: songweibin <song.weibin@zte.com.cn>
@joscollin
Copy link
Member

Jenkins retest this please

@joscollin joscollin self-requested a review August 8, 2017 09:19
Copy link
Member

@joscollin joscollin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The warning doesn't appear in the Jenkins build now.

@joscollin joscollin merged commit 79986f7 into ceph:master Aug 8, 2017
@Songweibin
Copy link
Contributor Author

@joscollin Thanks.

@Songweibin Songweibin deleted the wip-librados-Wreorder branch August 8, 2017 11:06
@joscollin
Copy link
Member

@Songweibin You're welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants