[SERVER-18255] Investigate unused variable removal Created: 29/Apr/15  Updated: 19/Sep/15  Resolved: 29/Apr/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.1.3

Type: Task Priority: Critical - P2
Reporter: Scott Hernandez (Inactive) Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-18124 Move chunk loading and caching to the... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

The unused variable breaks varias compiles like so:

src/mongo/db/dbcommands.cpp:607:36: error: unused variable 'shardVersionAtStart' [-Werror,-Wunused-variable]
                const ChunkVersion shardVersionAtStart = shardingState.getVersion(ns);
                                   ^
1 error generated.



 Comments   
Comment by Githook User [ 29/Apr/15 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-18255: Remove unused variable breaking some compiles
Branch: master
https://github.com/mongodb/mongo/commit/bdbe140e3cc502a58d50a8ec472bd9c05cf12e4f

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