Avoid a possible use of an uninitialized variable following an I/O or OOM
error.