1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

Merge pull request #8796 from yuwata/remove-unused-variables

Remove unused variables
This commit is contained in:
Lennart Poettering 2018-04-24 11:37:44 +02:00 committed by GitHub
commit 46c5cf49e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -154,7 +154,6 @@ static int list_sessions(int argc, char *argv[], void *userdata) {
_cleanup_(sd_bus_error_free) sd_bus_error error_tty = SD_BUS_ERROR_NULL;
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply_tty = NULL;
const char *id, *user, *seat, *object, *tty = NULL;
_cleanup_free_ char *path = NULL;
uint32_t uid;
r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object);

View File

@ -24,7 +24,7 @@
#include "util.h"
static void test_chase_symlinks(void) {
_cleanup_free_ char *result = NULL, *z = NULL, *w = NULL;
_cleanup_free_ char *result = NULL;
char temp[] = "/tmp/test-chase.XXXXXX";
const char *top, *p, *pslash, *q, *qslash;
int r, pfd;