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

Coverity analysis defect 98976: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.6
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • ALL
    • Repl 14 (05/13/16)

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 98976 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/repl/is_master_response.h
      Parse Warning (no function name available)
      /src/mongo/db/repl/is_master_response.h, line: 169
      type qualifier on return type is meaningless

              const time_t getLastMajorityWriteDate() const {
      

      /src/mongo/db/repl/is_master_response.h, line: 169
      During compilation of file '/data/src/mongo.master/src/mongo/db/repl/is_master_response.cpp'

              const time_t getLastMajorityWriteDate() const {
      

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

              Created:
              Updated:
              Resolved: