mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-04-20 20:14:45 +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
|
// User level block requires a user specific data in the hash
|
||||||
if( options & SingleApplication::Mode::User ) {
|
if( options & SingleApplication::Mode::User ) {
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
|
Q_UNUSED(timeout);
|
||||||
wchar_t username [ UNLEN + 1 ];
|
wchar_t username [ UNLEN + 1 ];
|
||||||
// Specifies size of the buffer on input
|
// Specifies size of the buffer on input
|
||||||
DWORD usernameLength = UNLEN + 1;
|
DWORD usernameLength = UNLEN + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user