diff options
author | Vickenty Fesunov <kent@setattr.net> | 2020-01-25 13:27:24 +0100 |
---|---|---|
committer | Vickenty Fesunov <kent@setattr.net> | 2020-02-12 10:09:22 +0100 |
commit | 9358be36d65458fca800c25c2a6e389c92b4d572 (patch) | |
tree | 0f4d90255f00cbb70a44ef4af4ba01a24a816ae7 /src/unix/haiku | |
parent | 1c5dab1ebb054164f0c441a2725917a39fd5bd98 (diff) | |
download | rust-libc-9358be36d65458fca800c25c2a6e389c92b4d572.tar.gz |
Remove unnecessary parenthesis
This triggers a warning on a recent nightly, which in turn breaks CI due to
`#![deny(warnings)]` in libc-test/build.rs
Diffstat (limited to 'src/unix/haiku')
-rw-r--r-- | src/unix/haiku/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index d704a0b636..5cbbfe9c80 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -1238,7 +1238,7 @@ f! { } pub fn WEXITSTATUS(status: ::c_int) -> ::c_int { - (status & 0xff) + status & 0xff } pub fn WIFSIGNALED(status: ::c_int) -> bool { |