From 06f5e175449a929d8119d8f1e99617a956cfd383 Mon Sep 17 00:00:00 2001 From: Svintsov Dmitry Date: Wed, 24 Aug 2016 16:04:49 +0500 Subject: fix Windows warning about unused parameter --- singleapplication.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.1