Skip to content

Conversation

@adityamandaleeka
Copy link
Member

I noticed some dead code while touching ANCM stuff recently. This cleans up a bunch of that, and also re-enables some suppressed warnings in the affected files (and includes the associated fixes).

@BrennanConroy

@ghost ghost added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Oct 11, 2024

if ( fLockedHeap )
{
fLockedHeap = FALSE;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an analyzer warning about setting a local without ever reading it again? Not sure how I feel about that in the general case 😆
For this file it's fine since we don't touch it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, I hit that while trying out clang-tidy locally and fixed it in this super obvious case.

@adityamandaleeka adityamandaleeka enabled auto-merge (squash) October 11, 2024 23:39
@adityamandaleeka
Copy link
Member Author

Disabled auto-merge... CI took long enough to get another cleanup commit in 😆.

@adityamandaleeka adityamandaleeka changed the title Remove dead code and clean up multisz/a Remove dead code and clean up multisz/a and stringa Oct 12, 2024
@adityamandaleeka adityamandaleeka merged commit 70ace17 into dotnet:main Oct 14, 2024
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants