Skip to content

Commit a44722f

Browse files
JohnTitortgross35
authored andcommitted
Ignore false-positive warning
(backport <#4746>) (cherry picked from commit 615224f)
1 parent 71005a5 commit a44722f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc-test/tests/cmsg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ mod t {
2929
}
3030

3131
#[test]
32+
#[allow(unused_assignments)] // false-positive: https://github.com/rust-lang/rust/issues/147648
3233
fn test_cmsg_firsthdr() {
3334
let mut buf = [0u8; 256];
3435
let mut mhdr: msghdr = unsafe { mem::zeroed() };

0 commit comments

Comments
 (0)