Skip to content
Snippets Groups Projects
Commit 42811717 authored by stratact's avatar stratact
Browse files

Remove unneeded reference

parent 5f6309d8
No related branches found
No related tags found
No related merge requests found
......@@ -862,7 +862,7 @@ pub extern "C" fn tmpfile() -> *mut FILE {
}
let mut file_name = *b"/tmp/tmpfileXXXXXX";
let file_name = (&mut file_name).as_mut_ptr() as *mut c_char;
let file_name = file_name.as_mut_ptr() as *mut c_char;
let fd = unsafe { mkstemp(file_name) };
if fd < 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment