resolved warning of uninited buffer var being used in check_fwrite.cpp