summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
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);