[SERVER-50643] Coverity analysis defect 116224: Parse warning Created: 31/Aug/20  Updated: 29/Oct/23  Resolved: 19/Oct/20

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Betty Shen (Inactive)
Resolution: Fixed Votes: 0
Labels: coverity, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2020-10-19, Query 2020-11-02
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/db/pipeline/document_source_mock.cpp:58: PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE 116224 type qualifier on return type is meaningless



 Comments   
Comment by Githook User [ 15/Oct/20 ]

Author:

{'name': 'caiyingshen', 'email': 'caiying.shen526@gmail.com', 'username': 'caiyingshen'}

Message: SERVER-50643: fix coverity parse warning in DocumentSourceMock
Branch: master
https://github.com/mongodb/mongo/commit/b370bdde808ed5791fe37c3d760a9f356cef8dc5

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