1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

Remove some unused variables

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2013-03-20 18:25:35 -04:00
parent fd4a5ec6fa
commit 4750fade13
3 changed files with 2 additions and 3 deletions

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);

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)

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;