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

Coverity analysis defect 105209: PW.PARAMETER_HIDDEN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2019-01-14

      Description

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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: