diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2022-02-04 10:06:47 +0100 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2022-02-04 17:34:27 +0100 |
commit | 9f1d29ecacffe3e94349bcef6e9fafa62b1cc431 (patch) | |
tree | 1ce338be1736e99f8ead92d6ade12b6b349a057c /lib/version_win32.c | |
parent | 60d076cee1459fd5cc8f423ad2dfa1490f266b8b (diff) | |
download | curl-9f1d29ecacffe3e94349bcef6e9fafa62b1cc431.tar.gz |
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
Diffstat (limited to 'lib/version_win32.c')
-rw-r--r-- | lib/version_win32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/version_win32.c b/lib/version_win32.c index 79a2aa6ab..a1eb72c9d 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); |