diff options
author | Itay Grudev <itay-grudev@users.noreply.github.com> | 2016-08-24 12:12:22 +0100 |
---|---|---|
committer | Itay Grudev <itay@grudev.com> | 2016-08-24 12:43:26 +0100 |
commit | 006170d0548dd33cd07100d6f9657e9057cb05af (patch) | |
tree | d9f5d8f14f240acf341976e77fb9826e216bdf2c /singleapplication.cpp | |
parent | Merge pull request #13 from uralbash/master (diff) | |
parent | fix Windows warning about unused parameter (diff) | |
download | singleapplication-006170d0548dd33cd07100d6f9657e9057cb05af.tar.xz |
Merge pull request #14 from uralbash/master
Fix Windows warning about unused timeout argument. Thanks to @uralbash
Diffstat (limited to 'singleapplication.cpp')
-rw-r--r-- | singleapplication.cpp | 1 |
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; |