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

Coverity analysis defect 99730: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • None
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 2016-08-29

    Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 99730 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/s/catalog/type_shard.h
      Parse Warning (no function name available)
      /src/mongo/s/catalog/type_shard.h, line: 118
      type qualifier on return type is meaningless

              const ShardState getState() const {
      

      /src/mongo/s/catalog/type_shard.h, line: 118
      During compilation of file '/data/src/mongo.master/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp'

              const ShardState getState() const {
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: