input don't use uninitialized error code

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>