|
Code can never be reached because of a logical contradiction
Defect 98181 (STATIC_C)
Checker DEADCODE (subcategory none)
File: /src/mongo/db/modules/enterprise/src/ldap/connections/openldap_connection.cpp
Function mongo::OpenLDAPConnection::connect()
/src/mongo/db/modules/enterprise/src/ldap/connections/openldap_connection.cpp, line: 219
The result of pointer arithmetic "++it" is never null.
/src/mongo/db/modules/enterprise/src/ldap/connections/openldap_connection.cpp, line: 219
At condition "+it == NULL", the value of "+it" cannot be "NULL".
/src/mongo/db/modules/enterprise/src/ldap/connections/openldap_connection.cpp, line: 219
The condition "++it == NULL" cannot be true.
/src/mongo/db/modules/enterprise/src/ldap/connections/openldap_connection.cpp, line: 220
Execution cannot reach this statement: "log << "], ";".
|