diff --git a/lib/version_win32.c b/lib/version_win32.c index 79a2aa6ab4..a1eb72c9df 100644 --- a/lib/version_win32.c +++ b/lib/version_win32.c @@ -76,6 +76,8 @@ bool curlx_verify_windows_version(const unsigned int majorVersion, bool matched = FALSE; #if defined(CURL_WINDOWS_APP) + (void)buildVersion; + /* We have no way to determine the Windows version from Windows apps, so let's assume we're running on the target Windows version. */ const WORD fullVersion = MAKEWORD(minorVersion, majorVersion);