diff options
Diffstat (limited to 'test/sys/test_signal.rs')
-rw-r--r-- | test/sys/test_signal.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sys/test_signal.rs b/test/sys/test_signal.rs index 7d3a9bf2..c8dd9776 100644 --- a/test/sys/test_signal.rs +++ b/test/sys/test_signal.rs @@ -28,8 +28,7 @@ fn test_sigprocmask_noop() { #[test] fn test_sigprocmask() { - #[allow(unused_variables)] - let m = ::SIGNAL_MTX.lock().expect("Mutex got poisoned by another test"); + let _m = ::SIGNAL_MTX.lock().expect("Mutex got poisoned by another test"); // This needs to be a signal that rust doesn't use in the test harness. const SIGNAL: Signal = Signal::SIGCHLD; |