Coverity analysis defect 177407: Unchecked return value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • QE 2025-10-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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/agg/change_stream_handle_topology_change_v2_stage.cpp:196: CHECKED_RETURN 177407 Calling "erase" without checking return value (as is done elsewhere 10 out of 11 times).

            Assignee:
            Niels Lohmann
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: