COMP: Fix warning in SystemInformation.cxx about possibly incorrect assignment in if condition.
This commit is contained in:
parent
8280232d0d
commit
6b8bb7d7fa
|
@ -2927,8 +2927,8 @@ bool SystemInformationImplementation::QueryOSInformation()
|
|||
// Try calling GetVersionEx using the OSVERSIONINFOEX structure.
|
||||
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