2025-08-31 11:26 CEST

spring: develop 4d1a7528 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
-jk- -jk- develop 2010-07-02 07:47:59 develop b2106ee4
Changeset Fix some issues found with CppCheck (static code analysis):
* unitialized members
* unnecessary nil-check for `delete`
* non-virtual destructor (found in System/LoadSave/Demo.h)
* const-able class functions
* use references for strings in function arguments
* invalid operators (e.g. missing `return *this` in operator=)
* simplify `strlen(foo)>0` with `(*foo != '\0')`
mod - rts/Game/Camera/OverviewController.cpp Diff ] File ]
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameData.cpp Diff ] File ]
mod - rts/Game/GameServer.h Diff ] File ]
mod - rts/Game/Player.cpp Diff ] File ]
mod - rts/Game/Player.h Diff ] File ]
mod - rts/Game/PlayerRoster.h Diff ] File ]
mod - rts/Game/Server/GameParticipant.h Diff ] File ]
mod - rts/Game/Server/GameSkirmishAI.h Diff ] File ]
mod - rts/Game/UI/EndGameBox.cpp Diff ] File ]
mod - rts/Game/UI/GameSetupDrawer.cpp Diff ] File ]
mod - rts/Game/UI/HwMouseCursor.cpp Diff ] File ]
mod - rts/Game/UI/MouseCursor.h Diff ] File ]
mod - rts/Game/UI/MouseHandler.cpp Diff ] File ]
mod - rts/Game/UI/ProfileDrawer.cpp Diff ] File ]
mod - rts/Game/UI/ResourceBar.cpp Diff ] File ]
mod - rts/Lua/LuaFBOs.h Diff ] File ]
mod - rts/Lua/LuaFonts.h Diff ] File ]
mod - rts/Lua/LuaMaterial.h Diff ] File ]
mod - rts/Lua/LuaWeaponDefs.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvTreeGenerator.cpp Diff ] File ]
mod - rts/Rendering/Env/AdvTreeGenerator.h Diff ] File ]
mod - rts/Rendering/Env/BaseSky.cpp Diff ] File ]
mod - rts/Rendering/Env/GrassDrawer.cpp Diff ] File ]
mod - rts/Rendering/FarTextureHandler.h Diff ] File ]
mod - rts/Rendering/GL/FBO.cpp Diff ] File ]
mod - rts/Rendering/GL/FBO.h Diff ] File ]
mod - rts/Rendering/GL/PBO.cpp Diff ] File ]
mod - rts/Rendering/GL/VertexArray.cpp Diff ] File ]
mod - rts/Rendering/GL/VertexArray.h Diff ] File ]
mod - rts/Rendering/GL/VertexArrayRange.cpp Diff ] File ]
mod - rts/Rendering/GL/VertexArrayRange.h Diff ] File ]
mod - rts/Rendering/GroundDecalHandler.cpp Diff ] File ]
mod - rts/Rendering/Models/IModelParser.cpp Diff ] File ]
mod - rts/Rendering/Models/IModelParser.h Diff ] File ]
mod - rts/Rendering/Models/WorldObjectModelRenderer.h Diff ] File ]
mod - rts/Rendering/VerticalSync.cpp Diff ] File ]
mod - rts/Rendering/VerticalSync.h Diff ] File ]
mod - rts/Rendering/glFont.cpp Diff ] File ]
mod - rts/Rendering/glFont.h Diff ] File ]
mod - rts/Sim/Features/Feature.cpp Diff ] File ]
mod - rts/Sim/Features/FeatureHandler.cpp Diff ] File ]
mod - rts/Sim/Features/FeatureHandler.h Diff ] File ]
mod - rts/Sim/Misc/DamageArray.h Diff ] File ]
mod - rts/Sim/Misc/GroundBlockingObjectMap.h Diff ] File ]
mod - rts/Sim/Misc/QuadField.cpp Diff ] File ]
mod - rts/Sim/Misc/SmoothHeightMesh.h Diff ] File ]
mod - rts/Sim/Misc/Team.cpp Diff ] File ]
mod - rts/Sim/Misc/Team.h Diff ] File ]
mod - rts/Sim/MoveTypes/GroundMoveType.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveMath/MoveMath.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveMath/MoveMath.h Diff ] File ]
mod - rts/Sim/Objects/SolidObject.cpp Diff ] File ]
mod - rts/Sim/Path/IPath.h Diff ] File ]
mod - rts/Sim/Path/PathEstimator.h Diff ] File ]
mod - rts/Sim/Path/PathFinder.h Diff ] File ]
mod - rts/Sim/Projectiles/ExpGenSpawner.cpp Diff ] File ]
mod - rts/Sim/Projectiles/Unsynced/FlyingPiece.cpp Diff ] File ]
mod - rts/Sim/Projectiles/Unsynced/SimpleParticleSystem.cpp Diff ] File ]
mod - rts/Sim/Units/CommandAI/LineDrawer.h Diff ] File ]
mod - rts/Sim/Units/UnitTracker.cpp Diff ] File ]
mod - rts/Sim/Units/UnitTracker.h Diff ] File ]
mod - rts/Sim/Weapons/BeamLaser.cpp Diff ] File ]
mod - rts/Sim/Weapons/Cannon.cpp Diff ] File ]
mod - rts/Sim/Weapons/Weapon.cpp Diff ] File ]
mod - rts/Sim/Weapons/WeaponDefHandler.cpp Diff ] File ]
mod - rts/Sim/Weapons/WeaponDefHandler.h Diff ] File ]
mod - rts/Sim/Weapons/bombdropper.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.h Diff ] File ]
mod - rts/System/ConfigHandler.cpp Diff ] File ]
mod - rts/System/ConfigHandler.h Diff ] File ]
mod - rts/System/FileSystem/ArchiveBase.cpp Diff ] File ]
mod - rts/System/FileSystem/ArchiveBase.h Diff ] File ]
mod - rts/System/FileSystem/ArchiveBuffered.h Diff ] File ]
mod - rts/System/FileSystem/FileHandler.cpp Diff ] File ]
mod - rts/System/FileSystem/SimpleParser.cpp Diff ] File ]
mod - rts/System/FileSystem/SimpleParser.h Diff ] File ]
mod - rts/System/GlobalConfig.cpp Diff ] File ]
mod - rts/System/LoadSave/Demo.h Diff ] File ]
mod - rts/System/LogOutput.cpp Diff ] File ]
mod - rts/System/LogOutput.h Diff ] File ]
mod - rts/System/Net/UDPConnection.cpp Diff ] File ]
mod - rts/System/NetProtocol.cpp Diff ] File ]
mod - rts/System/Sound/IAudioChannel.h Diff ] File ]
mod - rts/System/Sound/OggStream.cpp Diff ] File ]
mod - rts/System/Sound/OggStream.h Diff ] File ]
mod - rts/System/SpringApp.cpp Diff ] File ]
mod - rts/System/SpringApp.h Diff ] File ]