Avoid another warning triggered by the last warning workaround

Initialize a variable to avoid -Wmaybe-uninitialized triggered by using
wxUnusedVar() with it now.
This commit is contained in:
Vadim Zeitlin 2022-10-15 20:37:40 +02:00
parent 895dd8424c
commit f2cfcd3d2f

View file

@ -196,7 +196,7 @@ TEST_CASE("ArgsValidation", "[wxString][vararg][error]")
{
int written;
void *ptr = &written;
short int swritten;
short int swritten = 0;
wxUnusedVar(swritten); // We're not really going to use it.
// these are valid: