mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
fix more warnings
This commit is contained in:
@@ -2881,7 +2881,7 @@ void ChatInterface::OnReceivePersistentMessage(const ChatAvatar *destAvatar, con
|
||||
DEBUG_WARNING(true, ("We received an OnREceivePersistentMessage with a success result code but NULL data. This is an error that the API should never give."));
|
||||
return;
|
||||
}
|
||||
if (!destAvatar || !header)
|
||||
if (!header)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -3020,10 +3020,6 @@ void ChatInterface::OnReceiveInstantMessage(const ChatAvatar *srcAvatar, const C
|
||||
DEBUG_WARNING(true, ("We received an OnReceiveInstantMessage with a success result code but NULL data. This is an error that the API should never give."));
|
||||
return;
|
||||
}
|
||||
if (!srcAvatar || !destAvatar)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ChatAvatarId fromId;
|
||||
makeAvatarId(*srcAvatar, fromId);
|
||||
ChatAvatarId toId;
|
||||
|
||||
Reference in New Issue
Block a user