Skip to content

Commit 8e8eca8

Browse files
committed
Add missing initialisation
1 parent 3238fb4 commit 8e8eca8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/socket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ CSocket::~CSocket()
253253

254254
void CSocket::SendPacket ( const CVector<uint8_t>& vecbySendBuf, const CHostAddress& HostAddr )
255255
{
256-
int status;
256+
int status = 0;
257257

258258
uSockAddr UdpSocketAddr;
259259

0 commit comments

Comments
 (0)