Remove some unused variables

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-03-20 19:16:01 -04:00
parent fd4a5ec6fa
commit 4750fade13
3 changed files with 2 additions and 3 deletions
+1 -1
View 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);
+1 -1
View 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)
-1
View 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;