Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34474

Coverity analysis defect 103494: Self assignment

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

      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@mongodb.com Mark Benvenuto
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: