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

Coverity analysis defect 99520: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.8
    • Affects Version/s: None
    • Component/s: Sharding
    • Fully Compatible
    • ALL

      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 {
      

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

              Created:
              Updated:
              Resolved: