[ai\PathFinder.cpp:68]: (style) The class 'PathFinder' does not have a constructor.
[ai\PathFinder.cpp:78]: (performance, inconclusive) Technically the member function 'PathFinder::Node' can be static.
[ai\PathFinderManager.cpp:137]: (style) C-style pointer casting
[ai\Paths.cpp:1070] -> [ai\Paths.cpp:1071]: (performance) Variable 'rad' is reassigned a value before the old one has been used.
[ai\Paths.cpp:1091]: (style) The scope of the variable 'weapon_material' can be reduced.
[ai\Paths.cpp:1115]: (style) The scope of the variable 'weapon_material' can be reduced.
[ai\Paths.cpp:1116]: (style) The scope of the variable 'bkg_material' can be reduced.
[animation\Animation.cpp:1000]: (style) The scope of the variable 'k' can be reduced.
[animation\Animation.cpp:1002]: (style) The scope of the variable 'lfr' can be reduced.
[animation\Animation.cpp:1002]: (style) The scope of the variable 'lfg' can be reduced.
[animation\Animation.cpp:1002]: (style) The scope of the variable 'lfb' can be reduced.
[animation\Animation.cpp:599]: (style) Checking if unsigned variable 'time' is less than zero.
[animation\AnimationRender.cpp:1934]: (style) The scope of the variable 'obj' can be reduced.
[animation\AnimationRender.cpp:1951]: (error) Common realloc mistake: 'grps' nulled but not freed upon failure
[animation\AnimationRender.cpp:1236]: (style) The scope of the variable 'iNbTotVertex' can be reduced.
[animation\AnimationRender.cpp:1291]: (style) Variable 'iNbTotVertex' is assigned a value that is never used.
[audio\Ambiance.cpp:233]: (style) The struct 'Ambiance' does not have a constructor.
[audio\codec\WAV.cpp:69]: (style, inconclusive) Technically the member function 'ChunkFile::size' can be const.
[core\Application.cpp:307]: (style) Variable 'fFPS' is assigned a value that is never used.
[core\ArxGame.cpp:2024]: (style) The scope of the variable 'pTableIO' can be reduced.
[core\ArxGame.cpp:351]: (style) Variable 'autoFramework' is assigned a value that is never used.
[core\Core.cpp:3104]: (style) The scope of the variable 'SPLASH_DURATION' can be reduced.
[core\SaveGame.cpp:226]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[game\Equipment.cpp:390]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[game\Inventory.cpp:1253] -> [game\Inventory.cpp:1261]: (error) Possible null pointer dereference: DRAGINTER - otherwise it is redundant to check it against null.
[game\Inventory.cpp:1254] -> [game\Inventory.cpp:1261]: (error) Possible null pointer dereference: DRAGINTER - otherwise it is redundant to check it against null.
[game\Inventory.cpp:900]: (style) The scope of the variable 'i' can be reduced.
[game\Inventory.cpp:900]: (style) The scope of the variable 'j' can be reduced.
[game\Inventory.cpp:900]: (style) The scope of the variable 'k' can be reduced.
[game\Inventory.cpp:900]: (style) The scope of the variable 'l' can be reduced.
[game\Inventory.cpp:1928]: (style) The scope of the variable 'i' can be reduced.
[game\Inventory.cpp:1928]: (style) The scope of the variable 'j' can be reduced.
[game\NPC.cpp:2877] -> [game\NPC.cpp:2877]: (style) Same expression on both sides of '||'.
[game\NPC.cpp:2981]: (style) The scope of the variable 'CHANGE' can be reduced.
[game\Spells.cpp:6092] -> [game\Spells.cpp:6086]: (error, inconclusive) Possible null pointer dereference: pCSpellFX - otherwise it is redundant to check it against null.
[game\Spells.cpp:658]: (style) C-style pointer casting
[game\Spells.cpp:752]: (style) C-style pointer casting
[game\Spells.cpp:1961]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary.
[game\Spells.cpp:2388]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[game\Spells.cpp:2005]: (style) Unused variable: tex
[graphics\d3d9\D3D9Renderer.cpp:162]: (style) struct or union member 'D3DLVERTEX::dvX' is never used.
[graphics\data\CinematicTexture.cpp:321]: (warning, inconclusive) Division with signed and unsigned operators. The result might be wrong.
[graphics\data\CinematicTexture.cpp:322]: (warning, inconclusive) Division with signed and unsigned operators. The result might be wrong.
[graphics\data\CinematicTexture.cpp:372]: (style) Variable 'dy' is assigned a value that is never used.
[graphics\data\CinematicTexture.cpp:365]: (style) Variable 'dx' is assigned a value that is never used.
[graphics\data\Mesh.cpp:3182] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\Mesh.cpp:3183] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\Mesh.cpp:3184] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\Mesh.cpp:3201] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\Mesh.cpp:3202] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\Mesh.cpp:3203] -> [graphics\data\Mesh.cpp:3263]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[graphics\data\MeshManipulation.cpp:823] -> [graphics\data\MeshManipulation.cpp:825]: (error) Possible null pointer dereference: io - otherwise it is redundant to check it against null.
[graphics\data\MeshManipulation.cpp:770]: (style) The scope of the variable 'result2' can be reduced.
[graphics\effects\DrawEffects.cpp:301] -> [graphics\effects\DrawEffects.cpp:297]: (style) Found duplicate branches for 'if' and 'else'.
[graphics\image\Image.cpp:1000]: (style) C-style pointer casting
[graphics\image\Image.cpp:1001]: (style) C-style pointer casting
[graphics\image\Image.cpp:935]: (style) The scope of the variable 'offset' can be reduced.
[graphics\image\Image.cpp:920]: (style) struct or union member 'DXT5AlphaBlock::mAlpha0' is never used.
[graphics\image\Image.cpp:921]: (style) struct or union member 'DXT5AlphaBlock::mAlpha1' is never used.
[graphics\image\Image.cpp:922]: (style) struct or union member 'DXT5AlphaBlock::mRow' is never used.
[graphics\image\stb_image.cpp:2265]: (style) The scope of the variable 'i' can be reduced.
[graphics\image\stb_image.cpp:2265]: (style) The scope of the variable 'j' can be reduced.
[graphics\image\stb_image.cpp:2684]: (style) The scope of the variable 'compress' can be reduced.
[graphics\image\stb_image.cpp:3211]: (style) The scope of the variable 'count' can be reduced.
[graphics\image\stb_image.cpp:3211]: (style) The scope of the variable 'len' can be reduced.
[graphics\image\stb_image.cpp:3504]: (style) The scope of the variable 'i' can be reduced.
[graphics\image\stb_image.cpp:4012]: (style) The scope of the variable 'scanline' can be reduced.
[graphics\image\stb_image.cpp:4014]: (style) The scope of the variable 'len' can be reduced.
[graphics\image\stb_image.cpp:4015]: (style) The scope of the variable 'count' can be reduced.
[graphics\image\stb_image.cpp:4015]: (style) The scope of the variable 'value' can be reduced.
[graphics\image\stb_image.cpp:4016]: (style) The scope of the variable 'k' can be reduced.
[graphics\image\stb_image.cpp:4016]: (style) The scope of the variable 'c1' can be reduced.
[graphics\image\stb_image.cpp:4016]: (style) The scope of the variable 'c2' can be reduced.
[graphics\image\stb_image.cpp:4016]: (style) The scope of the variable 'z' can be reduced.
[graphics\image\stb_image.cpp:3031]: (error) Memory leak: tga_data
[graphics\image\stb_image.cpp:2546]: (style) Variable 'invalid_chunk' is assigned a value that is never used.
[graphics\image\stb_image_write.cpp:441]: (error) Resource leak: f
[graphics\particle\ParticleSystem.cpp:271] -> [graphics\particle\ParticleSystem.cpp:272]: (performance) Buffer 'cBuf' is being written before its old content has been used.
[graphics\particle\ParticleSystem.cpp:334] -> [graphics\particle\ParticleSystem.cpp:338]: (performance) Variable 'vv1' is reassigned a value before the old one has been used.
[graphics\spells\Spells02.cpp:259]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[graphics\spells\Spells02.cpp:307]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[graphics\spells\Spells04.cpp:394]: (style) The scope of the variable 'io' can be reduced.
[graphics\spells\Spells04.cpp:415]: (style) The scope of the variable 'io' can be reduced.
[graphics\spells\Spells04.cpp:435]: (style) The scope of the variable 'io' can be reduced.
[graphics\spells\Spells04.cpp:465]: (style) The scope of the variable 'io' can be reduced.
[graphics\spells\Spells04.cpp:486]: (style) The scope of the variable 'io' can be reduced.
[graphics\spells\Spells04.cpp:506]: (style) The scope of the variable 'io' can be reduced.
[graphics\texture\PackedTexture.cpp:140]: (style) The scope of the variable 'result' can be reduced.
[gui\Interface.cpp:620]: (style) C-style pointer casting
[gui\Interface.cpp:7476] -> [gui\Interface.cpp:7474]: (style) Found duplicate branches for 'if' and 'else'.
[gui\Interface.cpp:944]: (style) The scope of the variable 'tTxtCombineDest' can be reduced.
[gui\Interface.cpp:7101]: (style) Variable 'v' is assigned a value that is never used.
[gui\Interface.cpp:620]: (error) Common realloc mistake: 'aiHalo' nulled but not freed upon failure
[gui\MenuWidgets.cpp:462]: (style) Variable 'iPosMenuPrincipaleY' is assigned a value that is never used.
[gui\MenuWidgets.cpp:1502]: (style) Variable 'fControlPosY' is assigned a value that is never used.
[gui\MiniMap.cpp:204] -> [gui\MiniMap.cpp:208]: (error) Possible null pointer dereference: dat - otherwise it is redundant to check it against null.
[gui\MiniMap.cpp:279]: (style) The scope of the variable 'FL2_SIZE' can be reduced.
[gui\MiniMap.cpp:280]: (style) The scope of the variable 'FL2_LEFT' can be reduced.
[gui\MiniMap.cpp:281]: (style) The scope of the variable 'FL2_RIGHT' can be reduced.
[gui\MiniMap.cpp:282]: (style) The scope of the variable 'FL2_TOP' can be reduced.
[gui\MiniMap.cpp:283]: (style) The scope of the variable 'FL2_BOTTOM' can be reduced.
[gui\MiniMap.cpp:284]: (style) The scope of the variable 'FL2_PLAYERSIZE' can be reduced.
[gui\MiniMap.cpp:286]: (style) The scope of the variable 'DECALY' can be reduced.
[gui\MiniMap.cpp:287]: (style) The scope of the variable 'DECALX' can be reduced.
[gui\MiniMap.cpp:213]: (warning) scanf without field width limits can crash with huge input data.
[input\Input.cpp:225]: (style) Variable 'autoBackend' is assigned a value that is never used.
[io\fs\FilesystemPOSIX.cpp:173]: (style) Checking if unsigned variable 'path_max' is less than zero.
[io\fs\FilesystemWindows.cpp:254]: (style) C-style pointer casting
[io\fs\FilesystemWindows.cpp:265]: (style) C-style pointer casting
[io\fs\FilesystemWindows.cpp:289]: (style) C-style pointer casting
[io\fs\FilesystemWindows.cpp:294]: (style) C-style pointer casting
[io\fs\FilesystemWindows.cpp:301]: (style) C-style pointer casting
[io\fs\FilesystemWindows.cpp:308]: (style) C-style pointer casting
[io\fs\SystemPaths.cpp:94]: (style) The scope of the variable 'create_exists' can be reduced.
[io\resource\PakReader.cpp:227]: (style) C-style pointer casting
[io\resource\PakReader.cpp:269]: (style) C-style pointer casting
[io\resource\PakReader.cpp:220]: (warning) Member variable 'BlastFileInBuffer::readbuf' is not initialized in the constructor.
[physics\Anchors.cpp:1292] -> [physics\Anchors.cpp:1288]: (error, inconclusive) Possible null pointer dereference: ep - otherwise it is redundant to check it against null.
[platform\Time.cpp:1]: (information) Skipping configuration 'ARX_HAVE_CLOCK_GETTIME;CLOCK_MONOTONIC' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:0]: (information) Too many #ifdef configurations - cppcheck only checks 12 of 13 configurations. Use --force to check all configurations.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'ARX_HAVE_PRCTL;PR_SET_NAME' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'ARX_HAVE_PRCTL;PR_SET_PDEATHSIG;SIGTERM' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'SIGABRT' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'SIGBUS' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'SIGFPE' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerPOSIX.cpp:1]: (information) Skipping configuration 'SIGILL' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerWindows.cpp:387]: (error) Uninitialized variable: bCreateProcess
[platform\crashhandler\CrashHandlerWindows.cpp:1]: (information) Skipping configuration '_FPE_MULTIPLE_FAULTS' because it seems to be invalid. Use -D if you want to check it.
[platform\crashhandler\CrashHandlerWindows.cpp:1]: (information) Skipping configuration '_FPE_MULTIPLE_TRAPS' because it seems to be invalid. Use -D if you want to check it.
[scene\GameSound.cpp:826] -> [scene\GameSound.cpp:816]: (error, inconclusive) Possible null pointer dereference: position - otherwise it is redundant to check it against null.
[scene\GameSound.cpp:1204]: (style) C-style pointer casting
[scene\GameSound.cpp:847] -> [scene\GameSound.cpp:847]: (style) Same expression on both sides of '|'.
[scene\GameSound.cpp:1131]: (error) Common realloc mistake: 'elems' nulled but not freed upon failure
[scene\GameSound.cpp:1133]: (error) Common realloc mistake: 'numbers' nulled but not freed upon failure
[scene\Interactive.cpp:2434]: (style) The scope of the variable 'bPass' can be reduced.
[scene\Interactive.cpp:412]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[scene\Interactive.cpp:433]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[scene\Interactive.cpp:1618]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
[scene\Interactive.cpp:513]: (error) Common realloc mistake: 'treatio' nulled but not freed upon failure
[scene\Interactive.cpp:3475]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scene\Interactive.cpp:3477]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[scene\Object.cpp:253]: (style) C-style pointer casting
[scene\Object.cpp:656] -> [scene\Object.cpp:654]: (style) Found duplicate branches for 'if' and 'else'.
[scene\Scene.cpp:469] -> [scene\Scene.cpp:498]: (error) Possible null pointer dereference: io - otherwise it is redundant to check it against null.
[scene\Scene.cpp:479] -> [scene\Scene.cpp:498]: (error) Possible null pointer dereference: io - otherwise it is redundant to check it against null.
[scene\Scene.cpp:486] -> [scene\Scene.cpp:498]: (error) Possible null pointer dereference: io - otherwise it is redundant to check it against null.
[scene\Scene.cpp:2815]: (style) The scope of the variable 'x0' can be reduced.
[scene\Scene.cpp:2816]: (style) The scope of the variable 'x1' can be reduced.
[scene\Scene.cpp:2817]: (style) The scope of the variable 'z0' can be reduced.
[scene\Scene.cpp:2818]: (style) The scope of the variable 'z1' can be reduced.
[scene\Scene.cpp:2861]: (style) The scope of the variable 'lll' can be reduced.
[scene\Scene.cpp:2975]: (style) Variable 'temp0' is assigned a value that is never used.
[scene\Scene.cpp:129]: (warning) Member variable 'DynamicVertexBuffer::start' is not initialized in the constructor.
[scene\Scene.cpp:129]: (warning) Member variable 'DynamicVertexBuffer::offset' is not initialized in the constructor.
[scene\Scene.cpp:856]: (error) Common realloc mistake: 'RoomDraw' nulled but not freed upon failure
[scene\Scene.cpp:1105]: (error) Common realloc mistake: 'RoomDrawList' nulled but not freed upon failure
[script\ScriptedLang.cpp:553]: (performance, inconclusive) Technically the member function 'script::IfCommand::Operator::getName' can be static.
[script\ScriptedLang.cpp:554]: (style, inconclusive) Technically the member function 'script::IfCommand::Operator::getOperator' can be const.
[script\ScriptedLang.cpp:555]: (style, inconclusive) Technically the member function 'script::IfCommand::Operator::getType' can be const.
Really delete this comment?
Thanks for reporting this, but in the future please file individual bug reports (or send patches) for the actual problems.
The issue was updated with the following change(s):