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

Coverity analysis defect 101964: 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.5.12
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage 2017-08-21

      Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 101964 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/catalog/index_consistency.h
      Parse Warning (no function name available)
      /src/mongo/db/catalog/index_consistency.h, line: 239
      type qualifier on return type is meaningless

              const bool scanLimitHit();

      /src/mongo/db/catalog/index_consistency.h, line: 239
      During compilation of file '/data/src/mongo.master/src/mongo/db/auth/authz_manager_external_state_d.cpp'

              const bool scanLimitHit();

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: