summaryrefslogtreecommitdiff
path: root/apt-inst
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-05-25 20:27:33 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-06-09 15:12:32 +0200
commitbf35c19b817cc1474b3deabce0b0953c248bad42 (patch)
tree2f36749e2a351152b07df871857ddd20824008f6 /apt-inst
parentae635e3cf7559f3455b88a2499e7521d2094c416 (diff)
downloadapt-bf35c19b817cc1474b3deabce0b0953c248bad42.tar.gz
don't explicitly init ExtractTar InFd with invalid fd
The default constructor of the FileFd will kick in anyway, which will know that the Fd is invalid while with this explicit call it must be assumed that the fd is in fact valid, which might generate errors in the future
Diffstat (limited to 'apt-inst')
-rw-r--r--apt-inst/contrib/extracttar.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc
index 806ba796d..49ed5db56 100644
--- a/apt-inst/contrib/extracttar.cc
+++ b/apt-inst/contrib/extracttar.cc
@@ -63,7 +63,6 @@ ExtractTar::ExtractTar(FileFd &Fd,unsigned long Max,string DecompressionProgram)
{
GZPid = -1;
- InFd = -1;
Eof = false;
}
/*}}}*/