Coverity analysis defect 121476: Uninitialized scalar field

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • QO 2022-02-21
    • None
    • 3
    • 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/query/optimizer/explain.cpp:500: UNINIT_CTOR 121476 Class member declaration for "_canAppend".
      /src/mongo/db/query/optimizer/explain.cpp:325: UNINIT_CTOR 121476 Non-static class member "_canAppend" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Svilen Mihaylov (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: