diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2018-02-14 10:51:20 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2018-02-16 07:14:52 +0000 |
commit | b61e7bd3182addd8675ae907fc681db402fb138f (patch) | |
tree | 20c7f744bb6162366ba3cb44899bed30d99a73a3 | |
parent | 62accf0dc505546ac6f8da4a589fe1d7b86bc49c (diff) |
Silence compiler warningv5.11.0-beta1
In case Qt is built without SSL support, the compiler warns about unused
variable createSecureIfNeeded.
Change-Id: I46b0c951fc8b32d71c088a9ab129be981938fa9b
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/mqtt/qmqttconnection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mqtt/qmqttconnection.cpp b/src/mqtt/qmqttconnection.cpp index 4db53c1..aaaa514 100644 --- a/src/mqtt/qmqttconnection.cpp +++ b/src/mqtt/qmqttconnection.cpp @@ -85,6 +85,7 @@ QIODevice *QMqttConnection::transport() const bool QMqttConnection::ensureTransport(bool createSecureIfNeeded) { + Q_UNUSED(createSecureIfNeeded); // QT_NO_SSL qCDebug(lcMqttConnection) << Q_FUNC_INFO << m_transport; if (m_transport) { |