mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-19 05:26:54 +02:00
fix unused return value cargo warning
This commit is contained in:
parent
7ed5ea219d
commit
9430ff326f
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ pub extern "C" fn zeroidc_delete(ptr: *mut ZeroIDC) {
|
|||
idc.stop();
|
||||
|
||||
unsafe {
|
||||
Box::from_raw(ptr);
|
||||
let _ = Box::from_raw(ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue