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

Coverity analysis defect 113954: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: MapReduce
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 2019-11-18

      Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 113954 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/commands/map_reduce_out_options.h
      Parse Warning (no function name available)
      /src/mongo/db/commands/map_reduce_out_options.h, line: 97
      type qualifier on return type is meaningless

              const bool isSharded() const {

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: