diff options
author | Stefan Radu <stefan270101@gmail.com> | 2023-04-25 18:55:07 +0300 |
---|---|---|
committer | Stefan Radu <stefan270101@gmail.com> | 2023-04-25 18:55:43 +0300 |
commit | 3fe8061d4a7cf2e282ef4b67202d351ce05de4d1 (patch) | |
tree | 0c5b8ec37b03a3d92d506b94fafb031193b7b9dd /login-utils | |
parent | 1ade162b7773ffd3a1c83ad9f4ce529ac69d619c (diff) | |
download | util-linux-3fe8061d4a7cf2e282ef4b67202d351ce05de4d1.tar.gz |
wrap return in #else directive to avoid dead code
Signed-off-by: Stefan Radu <stefan270101@gmail.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/su-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/login-utils/su-common.c b/login-utils/su-common.c index 67c4fa271..b67492048 100644 --- a/login-utils/su-common.c +++ b/login-utils/su-common.c @@ -343,8 +343,9 @@ static int supam_conv( int num_msg, return misc_conv(num_msg, msg, resp, data); #elif defined(HAVE_SECURITY_OPENPAM_H) return openpam_ttyconv(num_msg, msg, resp, data); -#endif +#else return PAM_CONV_ERR; +#endif } static void supam_cleanup(struct su_context *su, int retcode) |