mirror of https://github.com/axmolengine/axmol.git
Fix -Wsometimes-uninitialized warning in release build
This commit is contained in:
parent
5fa57ae5c1
commit
01aaff66c8
|
@ -164,7 +164,7 @@ public:
|
||||||
} \
|
} \
|
||||||
break;
|
break;
|
||||||
|
|
||||||
void* address;
|
void* address = nullptr;
|
||||||
|
|
||||||
switch (adjusted_size)
|
switch (adjusted_size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue