Skip to content

Commit 46c5cf4

Browse files
authored
Merge pull request systemd#8796 from yuwata/remove-unused-variables
Remove unused variables
2 parents 33ce73f + c982570 commit 46c5cf4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/login/loginctl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ static int list_sessions(int argc, char *argv[], void *userdata) {
154154
_cleanup_(sd_bus_error_free) sd_bus_error error_tty = SD_BUS_ERROR_NULL;
155155
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply_tty = NULL;
156156
const char *id, *user, *seat, *object, *tty = NULL;
157-
_cleanup_free_ char *path = NULL;
158157
uint32_t uid;
159158

160159
r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object);

src/test/test-fs-util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "util.h"
2525

2626
static void test_chase_symlinks(void) {
27-
_cleanup_free_ char *result = NULL, *z = NULL, *w = NULL;
27+
_cleanup_free_ char *result = NULL;
2828
char temp[] = "/tmp/test-chase.XXXXXX";
2929
const char *top, *p, *pslash, *q, *qslash;
3030
int r, pfd;

0 commit comments

Comments
 (0)