[SERVER-13849] Coverity analysis defect 15490: Logically dead code Created: 06/May/14  Updated: 23/Mar/21  Resolved: 06/May/14

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.7.1

Type: Bug Priority: Major - P3
Reporter: auto Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

A new defect has been detected in Coverity Connect.
https://coverity.mongodb.com/reports.htm#v11752/p10001/fileInstanceId=4010166&defectInstanceId=1067917&mergedDefectId=15490
The defect was flagged by checker DEADCODE in
file /src/mongo/db/repl/rs.cpp
function mongo::ReplSetImpl::initFromConfig(mongo::ReplSetConfig &, bool)
and this ticket was created by milkie



 Comments   
Comment by Githook User [ 06/May/14 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-13849 remove a logically dead portion of code from initFromConfig()
Branch: master
https://github.com/mongodb/mongo/commit/6b945ec15c61f6bd4bfbaf382624d886ec8441d2

Generated at Thu Feb 08 03:33:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.