X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fpython-systemd%2Fid128.c;h=a9611c4802bcd74ca7be1a5384a55d7235fe0fbc;hp=a6711a5bd5f6b6a24f00a0eaf80a979a312d601e;hb=4750fade135aed733aa7a5fda7c670e6b4391538;hpb=6a6633a16a510b40c6ad30cd0858699619384a44 diff --git a/src/python-systemd/id128.c b/src/python-systemd/id128.c index a6711a5bd..a9611c480 100644 --- a/src/python-systemd/id128.c +++ b/src/python-systemd/id128.c @@ -54,7 +54,7 @@ PyDoc_STRVAR(get_boot__doc__, static PyObject* make_uuid(sd_id128_t id) { PyObject _cleanup_Py_DECREF_ *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 };