summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-16 19:30:57 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-16 19:30:57 (GMT)
commitef8212d28b4e35efbe4e8f6335e324cb219a3c94 (patch)
tree469251a6c4bfdc1b600c9cdc07ccf68f62b6c31c
parent767057f37fa6ce196b15ee2243a1d409b33ba893 (diff)
downloadCMake-ef8212d28b4e35efbe4e8f6335e324cb219a3c94.zip
CMake-ef8212d28b4e35efbe4e8f6335e324cb219a3c94.tar.gz
CMake-ef8212d28b4e35efbe4e8f6335e324cb219a3c94.tar.bz2
COMP: Remove unused variable
-rw-r--r--Source/kwsys/Registry.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/kwsys/Registry.cxx b/Source/kwsys/Registry.cxx
index a15a12a..0ca1e5b 100644
--- a/Source/kwsys/Registry.cxx
+++ b/Source/kwsys/Registry.cxx
@@ -437,7 +437,6 @@ bool RegistryHelper::Open(const char *toplevel, const char *subkey,
char buffer[Registry_BUFFER_SIZE];
while( !ifs->fail() )
{
- int found = 0;
ifs->getline(buffer, Registry_BUFFER_SIZE);
if ( ifs->fail() || ifs->eof() )
{
@@ -463,7 +462,6 @@ bool RegistryHelper::Open(const char *toplevel, const char *subkey,
this->EntriesMap[nkey] = this->DecodeValue(nvalue);
m_Empty = 0;
delete [] key;
- found = 1;
break;
}
}