Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit 20b919b

Browse files
committed
Fixed dead code for travis
1 parent 6cce01a commit 20b919b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sysctl.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl SysctlStorage for atomic::AtomicBool {
5656

5757
pub struct Sysctl<T: SysctlStorage> {
5858
inner: Box<T>,
59-
table: Box<[bindings::ctl_table]>,
59+
_table: Box<[bindings::ctl_table]>,
6060
header: *mut bindings::ctl_table_header,
6161
}
6262

@@ -137,7 +137,7 @@ impl<T: SysctlStorage> Sysctl<T> {
137137

138138
return Ok(Sysctl {
139139
inner: storage,
140-
table: table,
140+
_table: table,
141141
header: result,
142142
});
143143
}

0 commit comments

Comments
 (0)