QNativeSocketEngine: remove compile watning on Windows

Remove warning of unused variable.

Change-Id: Ia361dcb9081cd47c7018f5e75cdb8eb74f5474d4
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
bb10
Martin Petersson 2012-07-03 10:58:20 +02:00 committed by Qt by Nokia
parent 4d145e3ffa
commit 7f32418f26
1 changed files with 2 additions and 0 deletions

View File

@ -338,6 +338,8 @@ bool QNativeSocketEnginePrivate::createNewSocket(QAbstractSocket::SocketType soc
BOOL handleFlags = SetHandleInformation((HANDLE)socket, HANDLE_FLAG_INHERIT, 0);
#ifdef QNATIVESOCKETENGINE_DEBUG
qDebug() << "QNativeSocketEnginePrivate::createNewSocket - set inheritable" << handleFlags;
#else
Q_UNUSED(handleFlags);
#endif
}
#endif