diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-06-25 18:31:00 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-06-25 18:31:00 +0200 |
| commit | a4e69e11e544844034c3fbdc6789d5573f802117 (patch) | |
| tree | ab6b082018b3c721a4464e369cd865655e85e96b /python/tar.cc | |
| parent | 128c1f00b2006c9c24638c11000e1864fc15bd04 (diff) | |
| download | python-apt-a4e69e11e544844034c3fbdc6789d5573f802117.tar.gz | |
python: Fix some build warnings.
Diffstat (limited to 'python/tar.cc')
| -rw-r--r-- | python/tar.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tar.cc b/python/tar.cc index 217554c2..b93ba31a 100644 --- a/python/tar.cc +++ b/python/tar.cc @@ -72,8 +72,12 @@ bool ProcessTar::DoItem(Item &Itm,int &Fd) case Item::FIFO: Type = "FIFO"; break; + + default: + return false; } + if (PyObject_CallFunction(Function,"sssiiiiiii",Type,Itm.Name, Itm.LinkTarget,Itm.Mode,Itm.UID,Itm.GID,Itm.Size, Itm.MTime,Itm.Major,Itm.Minor) == 0) |
