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/configuration.cc | |
| parent | e8d06358310f09ea2c28e7640af8dce615040df7 (diff) | |
| download | python-apt-85165f89d3df8ad1c66bd9c842795885c407069e.tar.gz | |
python: No zero-size arrays for char *kwlist[].
Diffstat (limited to 'python/configuration.cc')
| -rw-r--r-- | python/configuration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/configuration.cc b/python/configuration.cc index c7d7d796..ba075133 100644 --- a/python/configuration.cc +++ b/python/configuration.cc @@ -492,7 +492,7 @@ static PyMethodDef CnfMethods[] = }; static PyObject *CnfNew(PyTypeObject *type, PyObject *args, PyObject *kwds) { - static char *kwlist[] = {}; + char *kwlist[] = {NULL}; if (PyArg_ParseTupleAndKeywords(args,kwds,"",kwlist) == 0) return 0; return CppPyObject_NEW<Configuration>(type); |
