From 049976be4b371c24ac605a79f82377e4f6cfbb1f Mon Sep 17 00:00:00 2001 From: Andy Cedilnik <andy.cedilnik@kitware.com> Date: Fri, 16 Sep 2005 15:30:57 -0400 Subject: [PATCH] COMP: Remove unused variable --- Registry.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/Registry.cxx b/Registry.cxx index e3a1101..430e717 100644 --- a/Registry.cxx +++ b/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; } } -- GitLab