Coverity analysis defect 176611: Using a moved object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/db/s/operation_sharding_state.cpp:190: USE_AFTER_MOVE 176611 "status" is moved (indicated by "std::move(status)").
      /src/mongo/db/s/operation_sharding_state.cpp:191: USE_AFTER_MOVE 176611 Returning while reference parameter "status" is in a moved state.

            Assignee:
            Kruti Shah
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: