From 9b011d3f5e8a5a3296e2b646cff996b70e9fb8d0 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 31 Jan 2026 15:31:36 +0900 Subject: [PATCH] ssh-generator: drop unused variable --- src/ssh-generator/ssh-generator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ssh-generator/ssh-generator.c b/src/ssh-generator/ssh-generator.c index 49a01334f57..e596d369338 100644 --- a/src/ssh-generator/ssh-generator.c +++ b/src/ssh-generator/ssh-generator.c @@ -33,7 +33,6 @@ * The first two provide a nice way for hosts to connect to containers and VMs they invoke via the usual SSH * logic, but without waiting for networking or suchlike. The third allows the same for local clients. */ -static const char *arg_dest = NULL; static bool arg_auto = true; static char **arg_listen_extra = NULL; @@ -444,7 +443,7 @@ static int parse_credentials(void) { static int run(const char *dest, const char *dest_early, const char *dest_late) { int r; - assert_se(arg_dest = dest); + assert(dest); r = proc_cmdline_parse(parse_proc_cmdline_item, /* userdata= */ NULL, /* flags= */ 0); if (r < 0) -- 2.47.3