Coverity analysis defect 134897: Uninitialized scalar field

XMLWordPrintableJSON

    • Sharding EMEA
    • Fully Compatible
    • ALL
    • Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20
    • None
    • 3
    • 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/transaction_resources.h:130: UNINIT_CTOR 134897 Class member declaration for "recoveryUnitState".
      /src/mongo/db/transaction_resources.cpp:36: UNINIT_CTOR 134897 Non-static class member "recoveryUnitState" is not initialized in this constructor nor in any functions that it calls.

              Assignee:
              Jordi Serra Torrens
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: