Coverity analysis defect 99519: PW.PARAMETER_HIDDEN

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: