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

Coverity analysis defect 99680: PW.PARAMETER_HIDDEN

    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16), Sharding 18 (08/05/16), Sharding 2016-08-29

      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();
      

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

              Created:
              Updated:
              Resolved: