Fixes a warning about unused fread() return value