diff options
author | Kurt Pattyn <pattyn.kurt@gmail.com> | 2014-02-03 01:40:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-04 11:15:19 +0100 |
commit | a2fd8f50fe268d3f384418073e8fdc07fd258c62 (patch) | |
tree | 352ce66c22553b096b0dd09c4a00e548bb0dc212 /examples/echoclient | |
parent | a759cd77495d34ce5c47d17e3e084084f6cedd04 (diff) | |
download | qtwebsockets-a2fd8f50fe268d3f384418073e8fdc07fd258c62.tar.gz |
Remove superfluous Q_REQUIRED_RESULT
Change-Id: Ie4e01a82082c45918b55e8588c7322dd359ba8c1
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'examples/echoclient')
-rw-r--r-- | examples/echoclient/echoclient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/echoclient/echoclient.cpp b/examples/echoclient/echoclient.cpp index c1ef7ed..dbda381 100644 --- a/examples/echoclient/echoclient.cpp +++ b/examples/echoclient/echoclient.cpp @@ -61,8 +61,7 @@ void EchoClient::onConnected() qDebug() << "Websocket connected"; connect(&m_webSocket, &QWebSocket::textMessageReceived, this, &EchoClient::onTextMessageReceived); - qint64 bytesWritten = m_webSocket.sendTextMessage(QStringLiteral("Hello, world!")); - Q_UNUSED(bytesWritten); + m_webSocket.sendTextMessage(QStringLiteral("Hello, world!")); } //! [onConnected] |