Browse Source

remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)

David Kalnischkies 15 years ago
parent
commit
59152cdb48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-inst/contrib/extracttar.cc

+ 1 - 1
apt-inst/contrib/extracttar.cc

@@ -336,7 +336,7 @@ bool ExtractTar::Go(pkgDirStream &Stream)
       }
       
       // And finish up
-      if (Itm.Size >= 0 && BadRecord == false)
+      if (BadRecord == false)
 	 if (Stream.FinishedFile(Itm,Fd) == false)
 	    return false;