From d8e0ce4d4009c707e99163d35214d24776b5c6bb Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 6 Jun 2016 08:49:10 +0200 Subject: Core/Misc: Fixed uninitialized fields in black market packets Coverity CID 1354736 and 1354737 --- src/server/game/Server/Packets/BlackMarketPackets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Server/Packets/BlackMarketPackets.h b/src/server/game/Server/Packets/BlackMarketPackets.h index 1193a9f0147..19853a212a5 100644 --- a/src/server/game/Server/Packets/BlackMarketPackets.h +++ b/src/server/game/Server/Packets/BlackMarketPackets.h @@ -122,7 +122,7 @@ namespace WorldPackets int32 MarketID = 0; Item::ItemInstance Item; - int32 RandomPropertiesID; + int32 RandomPropertiesID = 0; }; class BlackMarketWon final : public ServerPacket @@ -134,7 +134,7 @@ namespace WorldPackets int32 MarketID = 0; Item::ItemInstance Item; - int32 RandomPropertiesID; + int32 RandomPropertiesID = 0; }; } } -- cgit v1.2.3