From: Yu Watanabe Date: Sat, 31 Jan 2026 06:31:36 +0000 (+0900) Subject: ssh-generator: drop unused variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b011d3f5e8a5a3296e2b646cff996b70e9fb8d0;p=thirdparty%2Fsystemd.git ssh-generator: drop unused variable --- 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)