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

Coverity analysis defect 101726: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • ALL
    • Sharding 2017-07-31, Sharding 2017-08-21

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

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

              const bool hasLastRefreshedCollectionVersion() const {
      

      /src/mongo/s/catalog/type_shard_collection.h, line: 146
      During compilation of file '/data/src/mongo.master/src/mongo/db/s/collection_sharding_state.cpp'

              const bool hasLastRefreshedCollectionVersion() const {
      

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: