aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvintsov Dmitry <root@uralbash.ru>2016-08-24 16:04:49 +0500
committerSvintsov Dmitry <root@uralbash.ru>2016-08-24 16:04:49 +0500
commit06f5e175449a929d8119d8f1e99617a956cfd383 (patch)
treed9f5d8f14f240acf341976e77fb9826e216bdf2c
parentMerge pull request #13 from uralbash/master (diff)
downloadsingleapplication-06f5e175449a929d8119d8f1e99617a956cfd383.tar.xz
fix Windows warning about unused parameter
-rw-r--r--singleapplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp
index b7b7fae..8fd8e7e 100644
--- a/singleapplication.cpp
+++ b/singleapplication.cpp
@@ -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;