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

Coverity analysis defect 99519: PW.PARAMETER_HIDDEN

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • ALL

      PW.PARAMETER_HIDDEN

      Defect 99519 (STATIC_C)
      Checker PW.PARAMETER_HIDDEN (subcategory none)
      File: /src/mongo/db/s/config/configsvr_add_shard_command.cpp
      Parse Warning (no function name available)
      /src/mongo/db/s/config/configsvr_add_shard_command.cpp, line: 218
      declaration hides parameter "errmsg" (declared at line 215)

                      string errmsg = "_configsvrAddShard can only be run on config servers";
      

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: