mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #2207
2207: Silence GCC warning r=heinrich5991 a=def- ``` src/game/editor/auto_map.h:47:9: warning: ‘*((void*)& NewConf +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized] ``` I don't think it's an actual problem Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
commit
8c5bf3eb38
|
@ -72,6 +72,7 @@ void CAutoMapper::Load(const char* pTileName)
|
|||
// new configuration, get the name
|
||||
pLine++;
|
||||
CConfiguration NewConf;
|
||||
NewConf.m_aName[0] = '\0';
|
||||
NewConf.m_StartX = 0;
|
||||
NewConf.m_StartY = 0;
|
||||
NewConf.m_EndX = 0;
|
||||
|
|
Loading…
Reference in a new issue