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

Coverity analysis defect 105171: 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: 4.1.7
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2018-12-17

      Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 105171 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/storage/kv/kv_storage_engine.h
      Parse Warning (no function name available)
      /src/mongo/db/storage/kv/kv_storage_engine.h, line: 224
      type qualifier on return type is meaningless

                      const TimestampType getType() const {

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: