[SERVER-36060] Make unit tests build cleanly on clang-6 Created: 10/Jul/18  Updated: 29/Oct/23  Resolved: 11/Jul/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.10, 4.0.5, 4.1.1

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Platforms 2018-07-30
Participants:

 Description   

There are several unused variable warnings (which are treated as error) which pop up in unittests on clang-6.  Fix these.



 Comments   
Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-36060 Remove unused variable declarations

(cherry picked from commit ad0d0e46190ee408662f3874ba85ea0b0b3731c7)
Branch: v3.6
https://github.com/mongodb/mongo/commit/70098eb6ececc680a61bc5dad608b43d3885a07c

Comment by Githook User [ 07/Dec/18 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-36060 Remove unused variable declarations

(cherry picked from commit ad0d0e46190ee408662f3874ba85ea0b0b3731c7)
Branch: v4.0
https://github.com/mongodb/mongo/commit/19cb92b33ae83fc8adb046232c3e5b2f53d2a564

Comment by Githook User [ 11/Jul/18 ]

Author:

{'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-36060 Remove unused variable declarations
Branch: master
https://github.com/mongodb/mongo/commit/ad0d0e46190ee408662f3874ba85ea0b0b3731c7

Generated at Thu Feb 08 04:41:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.