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

Coverity analysis defect 73625: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      Security 9 (09/18/15)

      Description

      PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE

      Defect 73625 (STATIC_C)
      Checker PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE (subcategory none)
      File: /src/mongo/db/modules/enterprise/src/encryptdb/symmetric_key.h
      Parse Warning (no function name available)
      /src/mongo/db/modules/enterprise/src/encryptdb/symmetric_key.h, line: 47
      type qualifier on return type is meaningless

              const uint32_t getInitializationCount() const {

      /src/mongo/db/modules/enterprise/src/encryptdb/symmetric_key.h, line: 47
      During compilation of file '/data/src/mongo.master/src/mongo/db/modules/enterprise/src/encryptdb/encryption_key_manager.cpp'

              const uint32_t getInitializationCount() const {

        Attachments

          Activity

            People

            Assignee:
            andreas.nilsson Andreas Nilsson
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: