From 9f1d29ecacffe3e94349bcef6e9fafa62b1cc431 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Fri, 4 Feb 2022 10:06:47 +0100 Subject: [PATCH] version_win32: fix warning for `CURL_WINDOWS_APP` The build version is not supported by the UWP code. Closes https://github.com/curl/curl/pull/8385 --- lib/version_win32.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.47.3