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

messages: Initializing uninitialized members MMonPaxos #16814

Merged
merged 1 commit into from Aug 4, 2017

Conversation

Projects
None yet
2 participants
@amitkumar50
Contributor

amitkumar50 commented Aug 4, 2017

Fixes coverity Issue:

  1. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
  2. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
  3. uninit_member: Non-static class member first_committed is not initialized in this constructor nor in any functions that it calls.
  4. uninit_member: Non-static class member last_committed is not initialized in this constructor nor in any functions that it calls.
  5. uninit_member: Non-static class member pn_from is not initialized in this constructor nor in any functions that it calls.
  6. uninit_member: Non-static class member pn is not initialized in this constructor nor in any functions that it calls.
  7. uninit_member: Non-static class member uncommitted_pn is not initialized in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com

messages: Initializing uninitialized members MMonPaxos
Fixes coverity Issue:

2. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
  	4. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
   	6. uninit_member: Non-static class member first_committed is not initialized in this constructor nor in any functions that it calls.
   	8. uninit_member: Non-static class member last_committed is not initialized in this constructor nor in any functions that it calls.
   	10. uninit_member: Non-static class member pn_from is not initialized in this constructor nor in any functions that it calls.
   	12. uninit_member: Non-static class member pn is not initialized in this constructor nor in any functions that it calls.
   	14. uninit_member: Non-static class member uncommitted_pn is not initialized in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com

@gregsfortytwo gregsfortytwo merged commit 435932e into ceph:master Aug 4, 2017

4 checks passed

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