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

Coverity analysis defect 101614: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • ALL
    • Repl 2022-06-13

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 101614 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/repl/topology_coordinator_impl.cpp
      Parse Warning (no function name available)
      /src/mongo/db/repl/topology_coordinator_impl.cpp, line: 2260
      type qualifier on return type is meaningless

          const int TopologyCoordinatorImpl::_selfMemberDataIndex() const {
      

            Assignee:
            luxi.liu@mongodb.com Luxi Liu (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: