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:
parent
895dd8424c
commit
f2cfcd3d2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue