summaryrefslogtreecommitdiff
path: root/apt-inst
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-05-17 15:12:04 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-05-17 15:12:04 +0200
commit59152cdb480c75773f17dd3f24922bcc9ce2213e (patch)
tree2945ca14ac9461f0dc2812a57de642560e880238 /apt-inst
parentd44b706c2d5964daaaf55e6eb97845827958f6e3 (diff)
remove Size >= 0 check as Itm.Size is an unsigned variable (clang warning)
Diffstat (limited to 'apt-inst')
-rw-r--r--apt-inst/contrib/extracttar.cc2
1 files changed, 1 insertions, 1 deletions
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;