Coverity analysis defect 146959: Uninitialized scalar field

XMLWordPrintableJSON

    • Query Optimization
    • Fully Compatible
    • ALL
    • 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
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/query/plan_enumerator/plan_enumerator.h:502: UNINIT_CTOR 146959 Class member declaration for "_done".
      /data/mci/9292c3def3822c0dfd66af88847bcc64/bazel_cache/004acac643584f695e6309f72694e5ad/execroot/_main/src/mongo/db/query/plan_enumerator/plan_enumerator.cpp:312: UNINIT_CTOR 146959 Non-static class member "_done" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Ben Shteinfeld
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: