diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-11-28 15:42:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-01-04 12:49:25 +0100 |
commit | 3dc8b2df12ce9fde9cf2de5406739457ed973cbe (patch) | |
tree | 0da81032b0fa838708cb24683f08835cc752d3c2 /src | |
parent | homed: add some function parameter assert()s (diff) | |
download | systemd-3dc8b2df12ce9fde9cf2de5406739457ed973cbe.tar.xz systemd-3dc8b2df12ce9fde9cf2de5406739457ed973cbe.zip |
pam_systemd_home: minor coding style adjustment
Diffstat (limited to 'src')
-rw-r--r-- | src/home/pam_systemd_home.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/home/pam_systemd_home.c b/src/home/pam_systemd_home.c index ba8d8f6054..f20b987b18 100644 --- a/src/home/pam_systemd_home.c +++ b/src/home/pam_systemd_home.c @@ -275,11 +275,11 @@ static int handle_generic_user_record_error( const sd_bus_error *error, bool debug) { + int r; + assert(user_name); assert(error); - int r; - /* Logs about all errors, except for PAM_CONV_ERR, i.e. when requesting more info failed. */ if (sd_bus_error_has_name(error, BUS_ERROR_HOME_ABSENT)) { |