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

librbd: Initializing members image,operation,journal #16934

Merged
merged 1 commit into from Aug 14, 2017

Commits on Aug 9, 2017

  1. librbd: Initializing members image,operation,journal

    Fixes the coverity issues:
    
    ** 1398907 Uninitialized scalar field
    CID 1398907 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    2. uninit_member: Non-static class member tag_tid is not initialized in
    this constructor nor in any functions that it calls.
    
    ** 1398906 Uninitialized scalar field
    22. uninit_member: Non-static class member m_r_saved is not initialized in
    this constructor nor in any functions that it calls.
    CID 1398906 (ceph#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
    24. uninit_member: Non-static class member m_mirror_mode is not initialized
    in this constructor nor in any functions that it calls.
    
    ** 1399592 Uninitialized scalar field
    2. uninit_member: Non-static class member m_order is not initialized in this
    constructor nor in any functions that it calls.
    4. uninit_member: Non-static class member m_size is not initialized in this
    constructor nor in any functions that it calls.
    6. uninit_member: Non-static class member m_features is not initialized in
    this constructor nor in any functions that it calls.
    8. uninit_member: Non-static class member m_incompatible_features is not
    initialized in this constructor nor in any functions that it calls.
    10. uninit_member: Non-static class member m_flags is not initialized in
    this constructor nor in any functions that it calls.
    CID 1399592 (ceph#1-2 of 2): Uninitialized scalar field (UNINIT_CTOR)
    12. uninit_member: Non-static class member m_exclusive_locked is not initialized
    in this constructor nor in any functions that it calls.
    
    Signed-off-by: Amit Kumar amitkuma@redhat.com
    amitkuma committed Aug 9, 2017
    Copy the full SHA
    233482c View commit details
    Browse the repository at this point in the history