summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-10-23 10:56:38 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-10-24 09:07:41 +0200
commitfe9ebbefb5f94d7d002b84c8732c1812d029775f (patch)
tree947cd1dd1226211db638c4a00fc169252a82e073 /vcl
parentbf16bbd105d1b78d3d3611e21d44b412efb50f09 (diff)
win: Drop local var assigned to but never read
Change-Id: I302e014134d5f91a4d454d3b137743af3c455997 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175473 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/app/salinst.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx
index bcb3041225b6..8dbe2428b7e4 100644
--- a/vcl/win/app/salinst.cxx
+++ b/vcl/win/app/salinst.cxx
@@ -1123,7 +1123,6 @@ OUString WinSalInstance::getOSVersion()
}
// Now use RtlGetVersion (which is not subject to deprecation for GetVersion(Ex) API)
// to get build number and SP info
- bool bHaveVerFromRtlGetVersion = false;
DWORD nBuildNumber = 0;
if (HMODULE h_ntdll = GetModuleHandleW(L"ntdll.dll"))
{
@@ -1138,7 +1137,6 @@ OUString WinSalInstance::getOSVersion()
aNtVersion = (OUString::number(vi2.dwMajorVersion) + "."
+ OUString::number(vi2.dwMinorVersion));
nBuildNumber = vi2.dwBuildNumber;
- bHaveVerFromRtlGetVersion = true;
}
}
}