summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-05-19 20:56:47 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-05-19 20:56:47 (GMT)
commit46a20bbd4c967718dde2dfef79c1a9aaf8c29529 (patch)
treee8d0905975342ceb997d3cef116c8a73ca0a8b92 /Source/kwsys/SystemInformation.cxx
parent4220e7c62c52631cf44e3669263e3c9bd7fc2f21 (diff)
downloadCMake-46a20bbd4c967718dde2dfef79c1a9aaf8c29529.zip
CMake-46a20bbd4c967718dde2dfef79c1a9aaf8c29529.tar.gz
CMake-46a20bbd4c967718dde2dfef79c1a9aaf8c29529.tar.bz2
ENH: remove warning
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index a32148a..631b0ec 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -2859,7 +2859,6 @@ bool SystemInformationImplementation::ParseSysCtl()
this->ChipID.Model = value;
}
// Cache size
- int iValue = 0;
len = sizeof(value);
err = sysctlbyname("hw.l1icachesize", &value, &len, NULL, 0);
this->Features.L1CacheSize = value;