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

Coverity analysis defect 101918: PW.PARAMETER_HIDDEN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.12
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      PW.PARAMETER_HIDDEN

      Defect 101918 (STATIC_C)
      Checker PW.PARAMETER_HIDDEN (subcategory none)
      File: /src/mongo/s/commands/cluster_aggregate.cpp
      Parse Warning (no function name available)
      /src/mongo/s/commands/cluster_aggregate.cpp, line: 103
      declaration hides parameter "result" (declared at line 90)

              for (const auto& result : shardResults) {

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: