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

Coverity analysis defect 99680: PW.PARAMETER_HIDDEN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.12
    • Component/s: Internal Client
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

            Assignee:
            spencer Spencer Brody (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: