[SERVER-43737] clang-tidy error in biggie_record_store.cpp Created: 30/Sep/19  Updated: 29/Oct/23  Resolved: 01/Oct/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Suganthi Mani Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-10-07
Participants:
Linked BF Score: 50

 Description   

[2019/09/27 14:52:31.512] /data/mci/f7b2a6acdc3d01ded6cc8f0f20c1760d/src/src/mongo/db/storage/biggie/biggie_record_store.cpp:194:5: error: object destroyed immediately after creation; did you mean to name the object? [bugprone-unused-raii,-warnings-as-errors]
 [2019/09/27 14:52:31.512]     SizeAdjuster(opCtx, this);
 [2019/09/27 14:52:31.512]     ^           ~
 [2019/09/27 14:52:31.512]                  give_me_a_name



 Comments   
Comment by Githook User [ 01/Oct/19 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-43737 Fixed unnamed variable in Biggie's RecordStore
Branch: master
https://github.com/mongodb/mongo/commit/7f97c5b56ec17dfb7bb59fd0df558a516c7d3c27

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