fix WriteFile.cpp:469: error: unused variable 'ofh' error.