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

tools/rbd_mirror: initialize non-static class member m_do_resync in ImageReplayer #15889

Merged
merged 1 commit into from Jun 26, 2017

Conversation

Projects
None yet
2 participants
@joscollin
Member

joscollin commented Jun 23, 2017

Fixes the Coverity Scan Report:

CID 1412614 (#2-1 of 2): Uninitialized scalar field (UNINIT_CTOR)
7. uninit_member: Non-static class member m_do_resync is not initialized in this constructor nor in any functions that it calls.

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

tools/rbd_mirror: initialize Non-static class member m_do_resync in I…
…mageReplayer

Fixes the Coverity Scan Report:
CID 1412614 (#2-1 of 2): Uninitialized scalar field (UNINIT_CTOR)
7. uninit_member: Non-static class member m_do_resync is not initialized in this constructor nor in any functions that it calls.

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

@dillaman dillaman changed the title from tools/rbd_mirror: initialize Non-static class member m_do_resync in ImageReplayer to tools/rbd_mirror: initialize non-static class member m_do_resync in ImageReplayer Jun 26, 2017

@dillaman dillaman merged commit f43c5fa into ceph:master Jun 26, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
arm64 make check arm64 make check succeeded
Details
make check make check succeeded
Details

@joscollin joscollin deleted the joscollin:wip-1412614-uninitialized-scalar-field branch Jun 26, 2017

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