ZMODEM: Run-Time Check Failure #3 - The variable 'Opt' is being used without being initialized.
Opt Variables are only referenced when (mode == IdZSend || mode == IdZAutoS). And message from Visual Studio is right. So I fixed to initialize Opt with 0 (r9188).
In Tera Term 5, the code has been rewritten so same error does not occur.
Thank you for the report.
When starting ZMODEM in Debug mode I get the following error message:
Run-Time Check Failure #3 - The variable 'Opt' is being used without being initialized.
It points to the ZMODEMStart() in teraterm/filesys.cpp where the Opt variable is being set only in "if (mode == IdZSend || mode == IdZAutoS)". What should be the default value for Opt?