summaryrefslogtreecommitdiff
path: root/python/depcache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-25 18:31:00 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-25 18:31:00 +0200
commita4e69e11e544844034c3fbdc6789d5573f802117 (patch)
treeab6b082018b3c721a4464e369cd865655e85e96b /python/depcache.cc
parent128c1f00b2006c9c24638c11000e1864fc15bd04 (diff)
downloadpython-apt-a4e69e11e544844034c3fbdc6789d5573f802117.tar.gz
python: Fix some build warnings.
Diffstat (limited to 'python/depcache.cc')
-rw-r--r--python/depcache.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/depcache.cc b/python/depcache.cc
index e1514300..9c0c9a6f 100644
--- a/python/depcache.cc
+++ b/python/depcache.cc
@@ -62,8 +62,6 @@ static PyObject *PkgDepCacheInit(PyObject *Self,PyObject *Args)
static PyObject *PkgDepCacheCommit(PyObject *Self,PyObject *Args)
{
- PyObject *result;
-
pkgDepCache *depcache = GetCpp<pkgDepCache *>(Self);
PyObject *pyInstallProgressInst = 0;
@@ -196,7 +194,6 @@ static PyObject *PkgDepCacheSetCandidateVer(PyObject *Self,PyObject *Args)
&VersionType, &VersionObj) == 0)
return 0;
- pkgCache::PkgIterator &Pkg = GetCpp<pkgCache::PkgIterator>(PackageObj);
pkgCache::VerIterator &I = GetCpp<pkgCache::VerIterator>(VersionObj);
if(I.end()) {
return HandleErrors(Py_BuildValue("b",false));