From fd67259b777932702889f9070258e82007f11459 Mon Sep 17 00:00:00 2001 From: def Date: Sat, 23 May 2020 18:11:32 +0200 Subject: [PATCH] Silence GCC warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/game/editor/auto_map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/editor/auto_map.cpp b/src/game/editor/auto_map.cpp index 6c74f6d36..115238944 100644 --- a/src/game/editor/auto_map.cpp +++ b/src/game/editor/auto_map.cpp @@ -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;