COMP: Fix unreachable code warning. Remove runtime test of constant information.
This commit is contained in:
parent
b38bc43894
commit
8280232d0d
@ -3154,11 +3154,7 @@ bool SystemInformationImplementation::QueryOSInformation()
|
||||
/** Return true if the machine is 64 bits */
|
||||
bool SystemInformationImplementation::Is64Bits()
|
||||
{
|
||||
if(sizeof(long int) == 4)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return (sizeof(void*) == 8);
|
||||
}
|
||||
|
||||
} // namespace @KWSYS_NAMESPACE@
|
||||
|
Loading…
x
Reference in New Issue
Block a user