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

Coverity analysis defect 99680: PW.PARAMETER_HIDDEN

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.12
    • Internal Client
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16), Sharding 18 (08/05/16), Sharding 2016-08-29

    Description

      PW.PARAMETER_HIDDEN

      Defect 99680 (STATIC_C)
      Checker PW.PARAMETER_HIDDEN (subcategory none)
      File: /src/mongo/client/dbclient.cpp
      Parse Warning (no function name available)
      /src/mongo/client/dbclient.cpp, line: 1164
      declaration hides parameter "ns" (declared at line 1148)

                      const std::string ns = cursorObj["ns"].String();
      

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: