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

Coverity analysis defect 115741: Unchecked return value

    • Minor Change
    • ALL
    • Query 2020-10-05, Query 2020-10-19, Query 2020-11-02, Query 2020-11-16

      Unchecked return value

      If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used
      /src/mongo/db/exec/idhack.cpp:152: CHECKED_RETURN 115741 Calling "restore" without checking return value (as is done elsewhere 10 out of 20 times).

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: