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

Coverity analysis defect 101725: Uninitialized scalar variable

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • Labels:
    • Fully Compatible
    • ALL
    • Sharding 2017-07-31

      Use of an uninitialized variable

      Defect 101725 (STATIC_C)
      Checker UNINIT (subcategory none)
      File: /src/mongo/db/ops/write_ops_exec.cpp
      Function mongo::performSingleUpdateOp(mongo::OperationContext *, const mongo::NamespaceString &, const mongo::UpdateOp::SingleUpdate &)
      /src/mongo/db/ops/write_ops_exec.cpp, line: 563
      Declaring variable "result".

              SingleWriteResult result;
      

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: