PDA

Просмотр полной версии : [12079] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls sinc


newsbot
03.08.2012, 16:57
Автор: Machiavelli


<pre>m src/game/Bag.cpp
m src/game/Chat.cpp
m src/game/Creature.cpp
m src/game/GridMap.cpp
m src/game/Group.cpp
m src/game/Map.cpp
m src/game/MoveMap.cpp
m src/game/MoveMap.h
m src/game/Object.cpp
m src/game/Pet.cpp
m src/game/Player.cpp
m src/game/UpdateMask.h
m src/game/WaypointManager.cpp
m src/game/WorldSocket.cpp
m src/game/WorldSocketMgr.cpp
m src/game/vmap/VMapFactory.cpp
m src/shared/Auth/BigNumber.cpp
m src/shared/Database/DBCFileLoader.cpp
m src/shared/Database/Database.cpp
m src/shared/Database/DatabaseMysql.cpp
m src/shared/Database/QueryResultMysql.cpp
m src/shared/Database/QueryResultPostgre.cpp
m src/shared/Database/SQLStorage.cpp
m src/shared/Database/SqlOperations.cpp
m src/shared/Database/SqlOperations.h
m src/shared/Database/SqlPreparedStatement.cpp
m src/shared/Threading.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12079] Remove some redundant explicit NULL checks for pointers before delete or delete[] calls since this check is done implicitly when deleting

Signed-off-by: stfx <stfx@hotmail.de></pre>


Подробнее... (https://github.com/mangos/mangos/commit/6576a8cba310ba986bae0968eb45030d60c5d054)