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

test/osd: initialize Non-static class members in WeightedTestGenerator #15922

Merged

Conversation

joscollin
Copy link
Member

Fixes the coverity scan report:

CID 1411829: Uninitialized scalar field (UNINIT_CTOR)
8. uninit_member: Non-static class member m_redirect_objects is not initialized in this constructor nor in any functions that it calls.
10. uninit_member: Non-static class member m_initial_redirected_objects is not initialized in this constructor nor in any functions that it calls.

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

Fixes the coverity scan report:

CID 1411829: Uninitialized scalar field (UNINIT_CTOR)
8. uninit_member: Non-static class member m_redirect_objects is not initialized in this constructor nor in any functions that it calls.
10. uninit_member: Non-static class member m_initial_redirected_objects is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Jos Collin <jcollin@redhat.com>
@joscollin
Copy link
Member Author

@jdurgin Could you please review ? It's been there for a while :-)

Copy link
Member

@xiexingguo xiexingguo left a comment

Choose a reason for hiding this comment

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

Josh is on vacation..

@joscollin joscollin removed the request for review from jdurgin August 12, 2017 07:49
@joscollin joscollin merged commit 0ec42b0 into ceph:master Aug 12, 2017
@joscollin joscollin deleted the wip-CID1411829-Uninitialized-scalar-field branch August 12, 2017 07:50
@joscollin
Copy link
Member Author

@xiexingguo Thank you.

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