chiark / gitweb /
Remove some unused variables
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2013 22:25:35 +0000 (18:25 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Mar 2013 23:16:01 +0000 (19:16 -0400)
src/journal/journalctl.c
src/python-systemd/id128.c
src/shared/util.c

index 975c44f..ddadc21 100644 (file)
@@ -596,7 +596,7 @@ static int add_this_boot(sd_journal *j) {
 }
 
 static int add_unit(sd_journal *j) {
-        _cleanup_free_ char *m = NULL, *u = NULL;
+        _cleanup_free_ char *u = NULL;
         int r;
 
         assert(j);
index 865cc3c..a9611c4 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)
index 69f1b00..872f6f7 100644 (file)
@@ -5553,7 +5553,6 @@ int on_ac_power(void) {
         for (;;) {
                 struct dirent *de;
                 union dirent_storage buf;
-                _cleanup_free_ char *p = NULL;
                 _cleanup_close_ int fd = -1, device = -1;
                 char contents[6];
                 ssize_t n;