-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some sonarlint cleanups #2286
some sonarlint cleanups #2286
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2286 +/- ##
==========================================
- Coverage 63.53% 63.52% -0.01%
==========================================
Files 118 118
Lines 19603 19603
Branches 9576 9577 +1
==========================================
- Hits 12454 12453 -1
- Misses 5085 5086 +1
Partials 2064 2064
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
Signed-off-by: Rosen Penev <rosenp@gmail.com>
C++17 allows scoped_lock, which sonarlint recommends. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Sonarlint complains about this loop for some reason. Convert to find_if to fix. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Avoids warnings regarding unnecessary semicolons. Remove _fileno as it is unused. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The former creates a nullptr. The latter actually allocates. Signed-off-by: Rosen Penev <rosenp@gmail.com>
No description provided.