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: Initialize member variables #16819

Merged
merged 1 commit into from
Aug 5, 2017

Commits on Aug 5, 2017

  1. messages: Initializing member variables of module messages

    Fixes coverity Issue:
    
    CID 717307 (ceph#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.
    2. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717308 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    4. uninit_member: Non-static class member query_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717310 (ceph#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.
    CID 717311 (ceph#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.
    CID 717312 (ceph#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.
    uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717313 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member query_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717314 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    2. uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717315 (ceph#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.
    uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717316 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    CID 717317 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member min_epoch is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member repair is not initialized in this constructor nor in any functions that it calls.
    CID 717318 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    4. uninit_member: Non-static class member deep is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member acks_wanted is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member old_exists is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member old_size is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member first is not initialized in this constructor nor in any functions that it calls.
    CID 717319 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member complete is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member ack_type is not initialized in this constructor nor in any functions that it calls.
    CID 717320 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member result is not initialized in this constructor nor in any functions that it calls.
    CID 717321 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls
    uninit_member: Non-static class member pool is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member auid is not initialized in this constructor nor in any functions that it calls.
    CID 717322 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    uninit_member: Non-static class member crush_rule is not initialized in this constructor nor in any functions that it calls.
    uninit_member: Non-static class member replyCode is not initialized in this constructor nor in any functions that it calls.
    CID 717323 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    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
    amitkuma committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    d31ac65 View commit details
    Browse the repository at this point in the history