summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 19:31:13 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 19:31:13 (GMT)
commit7b02221059fce51d8f12bf93b43d32d56aa4fe47 (patch)
treee2468a21a327fe46adbf30d7b5e2c1e079ae1afa /Source/cmSystemTools.cxx
parenta2d9b44d69c3cf5e79edb43b7db6c22c84f403ad (diff)
downloadCMake-7b02221059fce51d8f12bf93b43d32d56aa4fe47.zip
CMake-7b02221059fce51d8f12bf93b43d32d56aa4fe47.tar.gz
CMake-7b02221059fce51d8f12bf93b43d32d56aa4fe47.tar.bz2
COMP: Remove unused variable
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 7caafd0..1a8c36e 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1589,8 +1589,7 @@ bool cmSystemTools::ListTar(const char* outFileName, std::vector<cmStdString>& f
return false;
}
- int i;
- while ((i = th_read(t)) == 0)
+ while ((th_read(t)) == 0)
{
const char* filename = th_get_pathname(t);
files.push_back(filename);