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

Coverity analysis defect 105209: PW.PARAMETER_HIDDEN

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • ALL
    • Storage NYC 2019-01-14

      PW.PARAMETER_HIDDEN

      Defect 105209 (STATIC_C)
      Checker PW.PARAMETER_HIDDEN (subcategory none)
      File: /src/mongo/db/commands/restart_catalog_command.cpp
      Parse Warning (no function name available)
      /src/mongo/db/commands/restart_catalog_command.cpp, line: 101
      declaration hides parameter "db" (declared at line 89)

                      const auto db = databaseHolder->getDb(opCtx, dbName);
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: