]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/utmp.c: get_session_host(): Reduce scope of variable
authorAlejandro Colomar <alx@kernel.org>
Sun, 18 Feb 2024 01:39:57 +0000 (02:39 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 20 Feb 2024 17:53:53 +0000 (18:53 +0100)
commit8d1f0bcf99f1487f8c3eb54d65e0654f7e3f0264
treeb84316444e1364b4b7b5b31889756236a099fe53
parent64bcb54fa9621a73075249c75081b056512baa52
lib/utmp.c: get_session_host(): Reduce scope of variable

This silences a warning about an unused variable.

Tested-by: Firas Khalil Khana <firasuke@gmail.com>
Reviewed-by: Iker Pedrosa <ipedrosa@redhat.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/utmp.c