Coverity analysis defect 115245: Uninitialized scalar field

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2020-09-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/s/start_chunk_clone_request.h:140: UNINIT_CTOR 115245 Class member declaration for "_txnNumber".
      /src/mongo/db/s/start_chunk_clone_request.cpp:61: UNINIT_CTOR 115245 Non-static class member "_txnNumber" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            Alexander Taskov (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: