[SERVER-64849] Coverity analysis defect 121907: Parse warning Created: 23/Mar/22  Updated: 29/Oct/23  Resolved: 06/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Bug Priority: Trivial - P5
Reporter: Coverity Collector User Assignee: Varun Ravichandran
Resolution: Fixed Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-03-23 at 5.18.55 PM.png     PNG File Screen Shot 2022-03-23 at 5.19.05 PM.png    
Issue Links:
Problem/Incident
is caused by SERVER-62253 Extend IDL compiler to support specia... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2022-05-02, Security 2022-05-16
Participants:

 Description   

Parse warning

A parse warning may reduce maintainability of the code, or it may indicate a serious error. A parse warning from the Coverity parser may indicate a bug, or poor coding practice
/src/mongo/idl/server_parameter_specialized_test.h:65: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 121907 type qualifier on return type is meaningless



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

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-64849: Return LogicalTime::kUninitialized instead of default-constructed value
Branch: master
https://github.com/mongodb/mongo/commit/cfeae227e247b505bb94ed0637dd19c6f0800d04

Generated at Thu Feb 08 06:01:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.