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/depcache.cc | |
| parent | 128c1f00b2006c9c24638c11000e1864fc15bd04 (diff) | |
| download | python-apt-a4e69e11e544844034c3fbdc6789d5573f802117.tar.gz | |
python: Fix some build warnings.
Diffstat (limited to 'python/depcache.cc')
| -rw-r--r-- | python/depcache.cc | 3 |
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)); |
