summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-13 17:47:45 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-13 17:47:45 +0200
commit85165f89d3df8ad1c66bd9c842795885c407069e (patch)
treef5f678e21c7354d631c9eb066d2e6d8da11cd25b /python/cache.cc
parente8d06358310f09ea2c28e7640af8dce615040df7 (diff)
downloadpython-apt-85165f89d3df8ad1c66bd9c842795885c407069e.tar.gz
python: No zero-size arrays for char *kwlist[].
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index d3a8a949..c160cf69 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -244,7 +244,7 @@ static PyObject *CacheMapOp(PyObject *Self,PyObject *Arg)
static PyObject *PkgCacheNew(PyTypeObject *type,PyObject *Args,PyObject *kwds)
{
PyObject *pyCallbackInst = 0;
- static char *kwlist[] = {"progress", 0};
+ char *kwlist[] = {"progress", 0};
if (PyArg_ParseTupleAndKeywords (Args, kwds, "|O", kwlist, &pyCallbackInst) == 0)
return 0;