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

Coverity analysis defect 114418: Unused value

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • Execution Team 2020-09-07

    Description

      Unused value

      An assigned value that is never used may represent unnecessary computation, an incorrect algorithm, or possibly the need for cleanup or refactoring. A value assigned to a variable is never used.
      /src/mongo/db/storage/key_string.cpp:2439: UNUSED_VALUE 114418 Overwriting previous write to "ctype" with value from "mongo::KeyString::<unnamed>::readType(&reader, false)".
      /src/mongo/db/storage/key_string.cpp:2438: UNUSED_VALUE 114418 Assigning value from "~ctype" to "ctype" here, but that stored value is overwritten before it can be used.

      Attachments

        Activity

          People

            vishnu.kaushik@mongodb.com Vishnu Kaushik
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: