Coverity analysis defect 77721: Big parameter passed by value

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A large function call parameter or exception catch statement is passed by value

      Defect 77721 (STATIC_C)
      Checker PASS_BY_VALUE (subcategory none)
      File: /src/mongo/util/assert_util.h
      Function mongo::uassertStatusOK<mongo::MongoURI>(mongo::StatusWith<T1>)
      /src/mongo/util/assert_util.h, line: 245
      Passing parameter sw of type "mongo::StatusWith<mongo::MongoURI>" (size 136 bytes) by value.

          inline T uassertStatusOK(StatusWith<T> sw) {
      

            Assignee:
            Jonathan Reams
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: