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

Coverity analysis defect 100604: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

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

          const int ReplSetConfig::findMemberIndexByConfigId(long long configId) const {
      

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: