-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fixups/v2 #10345
Fixups/v2 #10345
Conversation
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> src/dns/log.rs:371:29 | 371 | pub fn dns_print_addr(addr: &Vec<u8>) -> std::string::String { | ^^^^^^^^ help: change this to: `&[u8]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
Add not-needed SCCalloc return check to satisfy our Cocci malloc checks as it can't see that the caller immediately checks the return value of this simple wrapper around SCCalloc.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #10345 +/- ##
==========================================
- Coverage 82.32% 82.32% -0.01%
==========================================
Files 978 978
Lines 272142 272147 +5
==========================================
- Hits 224053 224041 -12
- Misses 48089 48106 +17
Flags with carried forward coverage won't be shown. Click here to find out more. |
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
Information: QA ran without warnings. Pipeline 18265 |
Merged in #10347, thanks! |
#10337 and #10340, plus an added error message.
changes since #10344: