portable
portable copied to clipboard
[Windows] Mark old_report_mode as unused
When compiling in release mode the _CrtSetReportMode macro gets replaced by void(0). This makes old_report_mode unused, which visual studio warns about.
Could you add a comment in the code for reference later about why this is needed? Thanks!
I updated it and added const to the variables.