yogiman:
solve the warning in getReceivedMessage()

Signed-off-by: yogiman <xuyuji9000@163.com>