Coverity analysis defect 116101: Unchecked return value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL
    • None
    • 3
    • 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/repl/tenant_migration_access_blocker.cpp:102: CHECKED_RETURN 116101 Calling "shouldFail" without checking return value (as is done elsewhere 298 out of 302 times).

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

                Created:
                Updated:
                Resolved: