The compiler apparently is unable to detect that nStart is initialized and issues a warning because -Wmaybe-uniniatiialized is enalbed.
The #pragma ... and #pragma ... pop prevent the warning for the line in question.
The compiler apparently is unable to detect that nStart is initialized and issues a warning because -Wmaybe-uniniatiialized is enalbed.
The #pragma ... and #pragma ... pop prevent the warning for the line in question.
Prefer #10714 - GCC is technically correct here, its a race to hit fShutdown before the print, no reason to silence it, we should fix our bug.
This PR can be closed as #10714 has solved the problem this PR tried to address.
It doesn't look like #10714 solved the warning? after #10714 don't we just need to initialize nStart to 0 when it's declared or something?
Also, @ReneNyffenegger you can close your own PRs yourself if you want.
I didn't know I could close my pull requests. Doing it now.