Correct error handling, remove unnecessary comment lines.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>