[SERVER-49737] Coverity analysis defect 114724: Structurally dead code Created: 20/Jul/20  Updated: 29/Oct/23  Resolved: 10/Dec/20

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

Type: Improvement Priority: Major - P3
Reporter: Coverity Collector User Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: coverity, coverity-pm-1854-tracking, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-12-14
Participants:

 Description   

Structurally dead code

Actions intended to be performed by the unreachable code will never occur. Code block is unreachable because of the syntactic structure of the code
/src/mongo/db/repl/rollback_impl.cpp:964: UNREACHABLE 114724 This code cannot be reached: "return mongo::Status(mongo:...".



 Comments   
Comment by Githook User [ 10/Dec/20 ]

Author:

{'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-49737 delete dead code
Branch: master
https://github.com/mongodb/mongo/commit/675fd1dcf67fdaddd45061c0efe27ffd3ed0c718

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