fix: remove unused 'mut'

This commit is contained in:
Roy Ivy III 2018-09-03 17:51:20 -05:00
parent 16d39cafcc
commit c56f8f6807

View file

@ -730,7 +730,7 @@ fn preserve_hardlinks(
}
#[cfg(windows)]
{
let mut stat = mem::uninitialized();
let stat = mem::uninitialized();
let handle = CreateFile2(
src_path.as_ptr() as *const u16,
winapi::um::winnt::GENERIC_READ,