From: David Kalnischkies Date: Tue, 17 May 2011 13:12:04 +0000 (+0200) Subject: remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning) X-Git-Tag: 0.8.15~4^2~7 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/59152cdb480c75773f17dd3f24922bcc9ce2213e remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning) --- diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc index 1a358d57e..01b6b3836 100644 --- a/apt-inst/contrib/extracttar.cc +++ b/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;