diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-13 17:47:45 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-13 17:47:45 +0200 |
| commit | 85165f89d3df8ad1c66bd9c842795885c407069e (patch) | |
| tree | f5f678e21c7354d631c9eb066d2e6d8da11cd25b /python/acquire.cc | |
| parent | e8d06358310f09ea2c28e7640af8dce615040df7 (diff) | |
| download | python-apt-85165f89d3df8ad1c66bd9c842795885c407069e.tar.gz | |
python: No zero-size arrays for char *kwlist[].
Diffstat (limited to 'python/acquire.cc')
| -rw-r--r-- | python/acquire.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/acquire.cc b/python/acquire.cc index 4329e790..8b6de173 100644 --- a/python/acquire.cc +++ b/python/acquire.cc @@ -281,7 +281,7 @@ static PyObject *PkgAcquireNew(PyTypeObject *type,PyObject *Args,PyObject *kwds) pkgAcquire *fetcher; PyObject *pyFetchProgressInst = NULL; - static char *kwlist[] = {"progress", 0}; + char *kwlist[] = {"progress", 0}; if (PyArg_ParseTupleAndKeywords(Args,kwds,"|O",kwlist,&pyFetchProgressInst) == 0) return 0; |
