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

Remove const from bool return type in ValidateState

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • ALL
    • Execution Team 2019-09-23

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

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

              const bool isBackground() const {
      

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

              Created:
              Updated:
              Resolved: