mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-21 06:12:56 -04:00
fix more warnings
This commit is contained in:
+1
-4
@@ -569,10 +569,7 @@ dataReplyMessage::dataReplyMessage(const unsigned short command,
|
||||
monMessage(command, sequence, size)
|
||||
{
|
||||
data = new unsigned char[newDataLen];
|
||||
if (data)
|
||||
memcpy(data, newData, newDataLen);
|
||||
else
|
||||
data = NULL;
|
||||
memcpy(data, newData, newDataLen);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user