0ad/source
Ralph Sennhauser 827116cd35
Fix issues pointed out by cppcheck
For the memleak warning actually wx will free it for us, so just
suppress the warning.

```
source/soundmanager/data/SoundData.cpp:48:29: error: Iterators of different containers 'CSoundData::sSoundData' and 'sSoundData' are used together. [mismatchingContainers]
  if ((itemFind = CSoundData::sSoundData.find( theData->GetFileName().string() )) != sSoundData.end())
                            ^
source/soundmanager/data/SoundData.cpp:62:28: error: Iterators of different containers 'CSoundData::sSoundData' and 'sSoundData' are used together. [mismatchingContainers]
 if ((itemFind = CSoundData::sSoundData.find(itemPath.string())) != sSoundData.end())
                           ^
source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Terrain/Terrain.cpp:145:3: error: Memory leak: buf [memleak]
  }
  ^
```

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-08-13 17:09:36 +02:00
..
collada Update headers in collada 2025-06-26 20:05:53 +02:00
dapinterface DapInterface: shutdown sockets on Unix 2025-07-14 13:53:17 -05:00
graphics Add [locale] inline tag for per-locale fonts 2025-08-04 09:35:41 -05:00
gui Cleanup of IGUIObject classes 2025-08-11 18:38:01 +02:00
i18n Update headers in i18n 2025-07-01 09:01:00 +02:00
lib Explicitly const_cast string literal for C API 2025-08-12 20:45:15 +02:00
lobby Replace ScriptException::Raise in Engine functions 2025-07-08 19:11:49 +02:00
maths Fix includes in source/lib 2025-08-03 10:15:37 +02:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Make requirements sufficient in StunClient 2025-08-12 20:45:16 +02:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Add more libraries to the report 2025-08-11 14:00:14 +02:00
renderer Add [locale] inline tag for per-locale fonts 2025-08-04 09:35:41 -05:00
rlinterface Fix includes in source/simulation2 2025-08-03 17:16:27 +02:00
scriptinterface Add missing const in ModuleLoader 2025-08-12 20:45:15 +02:00
simulation2 Use proper js-modules for ai common-api 2025-08-13 14:04:16 +02:00
soundmanager Fix issues pointed out by cppcheck 2025-08-13 17:09:36 +02:00
third_party Silence mongoose warnings 2025-08-12 20:45:15 +02:00
tools Fix issues pointed out by cppcheck 2025-08-13 17:09:36 +02:00
main.cpp Don't define main as extern "C" 2025-08-12 20:45:15 +02:00
test_setup.cpp Don't use ".." to get the data-directory 2025-06-18 14:42:13 +02:00