Fix warning for both Watcom and MSVC

there is no need to get return value from prompt_error1() and
prompt_error2()