From 8280232d0d9c732fa80a05c6691c8620b2fc7f53 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 3 Feb 2008 08:14:38 -0500 Subject: [PATCH] COMP: Fix unreachable code warning. Remove runtime test of constant information. --- Source/kwsys/SystemInformation.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index 73c7189fe..b37038046 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -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@