[SERVER-68123] Eliminate unused-but-set-variable warnings Created: 19/Jul/22  Updated: 29/Oct/23  Resolved: 20/Jul/22

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-07-25
Participants:

 Description   

This new warning blocks build on latest XCode



 Comments   
Comment by Alex Neben [ 22/Jul/22 ]

1. Thank you for fixing this!
2. FYI: There are a whole heap of clang tidy errors similar to this in https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel80_dynamic_clang_tidy_condensed_clang_tidy_condensed_e37f9d5efff9974a4a66b6a84bf98f24c1052937_22_07_21_22_10_59/logs?execution=0 and I would love you opinions on this and what checks you would/would not like to see. Its not super readable rn since there are so many errors.

Comment by Githook User [ 19/Jul/22 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-68123 Handle unused-but-set-variable warnings
Branch: master
https://github.com/mongodb/mongo/commit/d36795e47dadb8c324baeef692646232bff1f7c9

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