mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2024-11-15 12:15:43 +08:00
fix Windows warning about unused parameter
This commit is contained in:
parent
e14352e845
commit
06f5e17544
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user