core: fix VC++ warning C4703

This commit fixes VC++ warning C4703 in core/remote_access.cpp
"potentially uninitialized local pointer variable".
This commit is contained in:
Rasmus Christian Pedersen
2014-05-08 20:12:10 +02:00
parent 15aa210468
commit 7c1260fdc0
+1 -1
View File
@@ -244,7 +244,7 @@ void RenderDoc::RemoteAccessServerThread(void *s)
// receive handshake from client and get its name
{
PacketType type;
Serialiser *ser;
Serialiser *ser = NULL;
if(!RecvPacket(client, type, &ser))
{
SAFE_DELETE(ser);