mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Fix a warning
This commit is contained in:
parent
bed809bc6b
commit
db6431f140
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ pub struct FontationsData {
|
|||
#[no_mangle]
|
||||
pub extern "C" fn fontations_data_destroy(ptr: *mut c_void) {
|
||||
if !ptr.is_null() {
|
||||
unsafe { Box::from_raw(ptr as *mut FontationsData); }
|
||||
unsafe { let _ = Box::from_raw(ptr as *mut FontationsData); }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue