Coverity analysis defect 101964: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

XMLWordPrintableJSON

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

      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
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: