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

messages: Initializing uninitialized members module messages #16817

Merged
merged 1 commit into from Aug 4, 2017

Conversation

Projects
None yet
2 participants
@amitkumar50
Copy link
Contributor

amitkumar50 commented Aug 4, 2017

Fixes coverity Issue:

** 2. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
CID 717301 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member failed_for is not initialized in this constructor nor in any functions that it calls.

  1. uninit_member: Non-static class member oldest_map is not initialized in this constructor nor in any functions that it calls.
    CID 717302 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
  2. uninit_member: Non-static class member newest_map is not initialized in this constructor nor in any functions that it calls.
  1. uninit_member: Non-static class member client_inc is not initialized in this constructor nor in any functions that it calls.
  2. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
  3. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
  4. uninit_member: Non-static class member retry_attempt is not initialized in this constructor nor in any functions that it calls.
    CID 717303 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
  5. uninit_member: Non-static class member features is not initialized in this constructor nor in any functions that it calls.
  1. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
  2. uninit_member: Non-static class member user_version is not initialized in this constructor nor in any functions that it calls.
  3. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717304 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
  4. uninit_member: Non-static class member retry_attempt is not initialized in this constructor nor in any functions that it calls.
  1. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
  2. uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717305 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
  3. uninit_member: Non-static class member query_epoch is not initialized in this constructor nor in any functions that it calls.

CID 717306 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member epoch 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 module messages
Fixes coverity Issue:

** 2. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
CID 717301 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member failed_for is not initialized in this constructor nor in any functions that it calls.

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

2. uninit_member: Non-static class member client_inc is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
8. uninit_member: Non-static class member retry_attempt is not initialized in this constructor nor in any functions that it calls.
CID 717303 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
10. uninit_member: Non-static class member features is not initialized in this constructor nor in any functions that it calls.

2. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member user_version is not initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
CID 717304 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
8. uninit_member: Non-static class member retry_attempt 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.
4. uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
CID 717305 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member query_epoch is not initialized in this constructor nor in any functions that it calls.

CID 717306 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member epoch 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 95e481f 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
You can’t perform that action at this time.