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

Coverity analysis defect 99520: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.8
    • Sharding
    • Fully Compatible
    • ALL

    Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 99520 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (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: 157
      type qualifier on return type is meaningless

              const long long getMaxSize() const {

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: