diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2016-08-22 10:09:30 +0200 |
---|---|---|
committer | Jesus Fernandez <jesus.fernandez@qt.io> | 2016-08-22 08:29:04 +0000 |
commit | fba638b478e3a37e1287aa088f3aa922070c49d9 (patch) | |
tree | 100ea0eb8465f6ff854bdbf1d36f8f439a32bc7b /src/oauth/qoauthhttpserverreplyhandler.cpp | |
parent | 3ae83d3891d652b308f5db68ab92fe652a903c0a (diff) |
Integration fix
Variable initialization to avoid clang complains.
The OAuth1 is marked as insignificant because it uses an external
server. This test needs a rewrite.
Change-Id: I195bf955414ccff04b7d262249e869bec7059531
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/oauth/qoauthhttpserverreplyhandler.cpp')
-rw-r--r-- | src/oauth/qoauthhttpserverreplyhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oauth/qoauthhttpserverreplyhandler.cpp b/src/oauth/qoauthhttpserverreplyhandler.cpp index 68fec3e..2486e11 100644 --- a/src/oauth/qoauthhttpserverreplyhandler.cpp +++ b/src/oauth/qoauthhttpserverreplyhandler.cpp @@ -86,7 +86,7 @@ void QOAuthHttpServerReplyHandlerPrivate::_q_readData(QTcpSocket *socket) clients[socket].port = httpServer.serverPort(); QHttpRequest *request = &clients[socket]; - bool error; + bool error = false; if (Q_LIKELY(request->state == QHttpRequest::State::ReadingMethod)) if (Q_UNLIKELY(error = !request->readMethod(socket))) |