Skip to content

Fix warnings part 1#3251

Merged
Martí Climent (marticliment) merged 9 commits intoDevolutions:mainfrom
Saibamen:fix_warnings_part1
Feb 5, 2025
Merged

Fix warnings part 1#3251
Martí Climent (marticliment) merged 9 commits intoDevolutions:mainfrom
Saibamen:fix_warnings_part1

Conversation

@Saibamen
Copy link
Contributor

@Saibamen Adam Stachowicz (Saibamen) commented Feb 4, 2025

Remove unuses usings. Remove redundant (). Fix one CS4014. Add missing braces for foreach. Remove redundant else. Fix other warnings

…g braces for foreach. Remove redundant else. Fix other warnings
@Saibamen Adam Stachowicz (Saibamen) changed the title Remove unuses usings. Remove redundant (). Fix one CS4014. Add missin… Fix warnings part 1 Feb 4, 2025
@Saibamen
Copy link
Contributor Author

Martí Climent (@marticliment) Can you please review this? I'm still fixing merge conflicts.

@marticliment Martí Climent (marticliment) merged commit 550a8b3 into Devolutions:main Feb 5, 2025
2 checks passed
@marticliment
Copy link
Collaborator

Hey Adam Stachowicz (@Saibamen),

I really appreciate the effort put into improving the codebase, but please do not push PRs with style changes (e.g. replacing new() with [], adding/removing optional brackets, spaces after the if clause, etc.), since they are very time-consuming to review, and don't offer a real benefit on code performance or efficiency.
However, the efficiency changes (IsEmpty, Count == 0) are great.

Thanks for the effort!
Martí

@Saibamen Adam Stachowicz (Saibamen) deleted the fix_warnings_part1 branch February 6, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants