X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpython-systemd%2Fid128.c;h=1c2fe5dd0b2fa4cc62d8f16f18e07b493d289b77;hb=d2bbca6855b174fb7ea90b4767a886bb88bd2400;hp=a6711a5bd5f6b6a24f00a0eaf80a979a312d601e;hpb=6a6633a16a510b40c6ad30cd0858699619384a44;p=elogind.git diff --git a/src/python-systemd/id128.c b/src/python-systemd/id128.c index a6711a5bd..1c2fe5dd0 100644 --- a/src/python-systemd/id128.c +++ b/src/python-systemd/id128.c @@ -52,9 +52,9 @@ PyDoc_STRVAR(get_boot__doc__, ); static PyObject* make_uuid(sd_id128_t id) { - PyObject _cleanup_Py_DECREF_ + _cleanup_Py_DECREF_ PyObject *uuid = NULL, *UUID = NULL, *bytes = NULL, - *args = NULL, *kwargs = NULL, *obj = NULL; + *args = NULL, *kwargs = NULL; uuid = PyImport_ImportModule("uuid"); if (!uuid) @@ -134,7 +134,7 @@ static struct PyModuleDef module = { PyModuleDef_HEAD_INIT, "id128", /* name of module */ module__doc__, /* module documentation, may be NULL */ - 0, /* size of per-interpreter state of the module */ + -1, /* size of per-interpreter state of the module */ methods };