chiark / gitweb /
Remove some unused variables
[elogind.git] / src / python-systemd / id128.c
index a6711a5bd5f6b6a24f00a0eaf80a979a312d601e..a9611c4802bcd74ca7be1a5384a55d7235fe0fbc 100644 (file)
@@ -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
 };