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

Coverity analysis defect 98976: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.6
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 14 (05/13/16)

      Description

      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 {

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: