Coverity analysis defect 103494: Self assignment

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Platforms 2018-05-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Assignment of a variable or expression to itself has no effect

      Defect 103494 (STATIC_C)
      Checker NO_EFFECT (subcategory self_assign)
      File: /src/mongo/db/free_mon/free_mon_processor.cpp
      Function mongo::RegistrationRetryCounter::incrementError()
      /src/mongo/db/free_mon/free_mon_processor.cpp, line: 83
      Assigning "this->_base" to itself has no effect.

                  _base = _base;
      

            Assignee:
            Mark Benvenuto
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: