summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/pampass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 4eec269a82..e08670f481 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -464,8 +464,8 @@ static bool smb_pam_start(pam_handle_t **pamh, const char *user, const char *rho
int pam_error;
#ifdef PAM_RHOST
const char *our_rhost;
-#endif
char addr[INET6_ADDRSTRLEN];
+#endif
*pamh = (pam_handle_t *)NULL;