Coverity analysis defect 99730: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2016-08-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 {
      

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: