COMP: Fixed assignment-in-conditional warning.
This commit is contained in:
parent
c13fee6ebd
commit
8136f69813
|
@ -3103,7 +3103,8 @@ kwsys_stl::string SystemTools::GetOperatingSystemNameAndVersion()
|
|||
ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
|
||||
|
||||
if (!(bOsVersionInfoEx = GetVersionEx((OSVERSIONINFO *)&osvi)))
|
||||
bOsVersionInfoEx = GetVersionEx((OSVERSIONINFO *)&osvi);
|
||||
if (!bOsVersionInfoEx)
|
||||
{
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
if (!GetVersionEx((OSVERSIONINFO *)&osvi))
|
||||
|
|
Loading…
Reference in New Issue