fix Windows warning about unused parameter

This commit is contained in:
Svintsov Dmitry 2016-08-24 16:04:49 +05:00
parent e14352e845
commit 06f5e17544

View File

@ -67,6 +67,7 @@ void SingleApplicationPrivate::genBlockServerName( int timeout )
// User level block requires a user specific data in the hash
if( options & SingleApplication::Mode::User ) {
#ifdef Q_OS_WIN
Q_UNUSED(timeout);
wchar_t username [ UNLEN + 1 ];
// Specifies size of the buffer on input
DWORD usernameLength = UNLEN + 1;