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

Coverity analysis defect 122182: Uninitialized scalar variable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL

      Uninitialized scalar variable

      The variable will contain an arbitrary value left from earlier computations. Use of an uninitialized variable
      /src/mongo/db/index/columns_access_method.cpp:178: UNINIT 122182 Declaring variable "numInserted" without initializer.
      /src/mongo/db/index/columns_access_method.cpp:187: UNINIT 122182 Using uninitialized value "numInserted".

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: