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

Coverity analysis defect 101964: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Storage 2017-08-21

      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();
      

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: