0ad/source/tools/lint/cppcheck/suppressions-list.txt
phosit 056d3fb180
Remove line numbers from cppcheck supression list
They have to be changed to ofthen when code gets moved.
2026-08-01 16:16:35 +02:00

75 lines
2.8 KiB
Text

// Some versions of cppcheck segfault here, 2.13 to 2.16 probably. Git main is fine.
cppcheckError:./source/lib/file/file_system.cpp
// Suppress all from source/third_party
*:source/third_party/*
// Ignore SpiderMonkey version compile check
preprocessorErrorDirective:source/scriptinterface/Engine.h
// Lists of network/simulation messages are included in other files which define macros
unknownMacro:source/network/NetMessages.h
unknownMacro:source/simulation2/TypeList.h
// Issues reported by cppcheck and not yet fixed
// false positive
containerOutOfBounds:source/simulation2/components/CCmpRangeManager.cpp
danglingLifetime:source/lib/sysdep/os/unix/ufilesystem.cpp
danglingTemporaryLifetime:source/graphics/TerrainTextureManager.cpp
danglingTemporaryLifetime:source/lib/sysdep/os/unix/ufilesystem.cpp
invalidFunctionArg:source/lib/tests/test_secure_crt.h
mismatchAllocDealloc:source/lib/tex/tex.cpp
mismatchingContainers:source/graphics/TerrainTextureManager.cpp
missingReturn:source/simulation2/helpers/PathGoal.cpp
nullPointer:source/lib/tests/test_secure_crt.h
nullPointerArithmetic:source/lib/sysdep/os/win/wposix/wposix_internal.h
nullPointerArithmetic:source/lib/sysdep/os/win/wposix/wpthread.cpp
nullPointerOutOfMemory:source/lib/sysdep/os/osx/dir_watch.cpp
nullPointerOutOfMemory:source/lib/sysdep/smbios.cpp
nullPointerOutOfMemory:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Terrain/Terrain.cpp
preprocessorErrorDirective:source/lib/sysdep/arch.h
preprocessorErrorDirective:source/lib/sysdep/arch/x86_x64/x86_x64.h
preprocessorErrorDirective:source/lib/sysdep/os/win/win.h
preprocessorErrorDirective:source/network/NMTCreator.h
preprocessorErrorDirective:source/tools/atlas/AtlasUI/CustomControls/Windows/AtlasWindow.h
returnDanglingLifetime:source/lib/file/vfs/vfs_tree.cpp
syntaxError:source/lib/tests/test_byte_order.h
syntaxError:source/ps/FileIo.cpp
syntaxError:source/tools/atlas/AtlasUI/CustomControls/EditableListCtrl/EditableListCtrl.cpp
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Map/Map.cpp
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Object/VariationControl.cpp
syntaxError:source/tools/atlas/AtlasUI/ScenarioEditor/Tools/TransformPath.cpp
syntaxError:source/tools/atlas/GameInterface/Messages.h
syntaxError:source/tools/atlas/GameInterface/MessagesSetup.h
unknownMacro:source/lib/external_libraries/dbghelp_funcs.h
unknownMacro:source/lib/sysdep/os/win/wdbg_sym.cpp
unknownMacro:source/lib/sysdep/os/win/wfirmware.cpp
unknownMacro:source/lib/sysdep/os/win/wposix/wutsname.cpp
unknownMacro:source/ps/CStr.cpp
uninitvar:source/ps/Game.cpp
uninitvar:source/ps/scripting/JSInterface_SavedGame.cpp
danglingLifetime:source/renderer/backend/gl/Device.cpp
uninitvar:source/gui/Scripting/JSInterface_GUISize.cpp
nullPointer:source/ps/scripting/JSInterface_Debug.cpp
unknownMacro:source/dapinterface/tests/test_DapInterface.h