Browse Source

COMP: Remove unused variable

Andy Cedilnik 20 năm trước cách đây
mục cha
commit
7b02221059
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      Source/cmSystemTools.cxx

+ 1 - 2
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);