Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50230

Coverity analysis defect 114677: Uninitialized scalar field

    • Fully Compatible
    • ALL
    • Execution Team 2020-09-07

      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/repl_index_build_state.h:281: UNINIT_CTOR 114677 Class member declaration for "opId".
      /src/mongo/db/repl_index_build_state.h:252: UNINIT_CTOR 114677 Non-static class member "opId" is not initialized in this constructor nor in any functions that it calls.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: