Coverity analysis defect 120046: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Sharding EMEA 2021-05-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Uninitialized scalar field

      The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
      /src/mongo/db/s/create_collection_coordinator.h:143: UNINIT_CTOR 120046 Class member declaration for "_collectionEmpty".
      /src/mongo/db/s/create_collection_coordinator.cpp:325: UNINIT_CTOR 120046 Non-static class member "_collectionEmpty" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Marcos José Grillo Ramirez
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: