Coverity analysis defect 171672: Uninitialized scalar field

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2025-03-31, QE 2025-04-14
    • 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/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/exec/matcher/matcher.h:419: UNINIT_CTOR 171672 Class member declaration for "_result".
      /data/bazel_cache/1de52aaeb35278243ca29a4785ce7969/execroot/_main_/src/mongo/db/exec/matcher/matcher.h:261: UNINIT_CTOR 171672 Non-static class member "_result" is not initialized in this constructor nor in any functions that it calls.

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

              Created:
              Updated:
              Resolved: