-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Networking
-
Labels:None
-
Fully Compatible
-
ALL
-
Platforms 17 (07/15/16)
UNUSED_VALUE
Defect 99581 (STATIC_C)
Checker UNUSED_VALUE (subcategory adjacent)
File: /src/mongo/transport/session.cpp
Function mongo::transport::Session::operator =(mongo::transport::Session&&)
/src/mongo/transport/session.cpp, line: 69
Overwriting previous write to "this->_tl" with value "NULL".
_tl = nullptr;
/src/mongo/transport/session.cpp, line: 68
Assigning value from "other._tl" to "this->_tl" here, but that stored value is overwritten before it can be used.
_tl = other._tl;