diff options
author | Björn Jacke <bj@sernet.de> | 2009-11-13 23:32:04 +0100 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2009-11-13 23:32:04 +0100 |
commit | ec49f28a52a67ba7afc3357d638a1d932cd2b474 (patch) | |
tree | d9c2fab8c182cc0c51087c82d47572f30c7a31d9 /source3/auth/pampass.c | |
parent | 6540804f4022443e09befb9e71d7676e46f2c133 (diff) | |
download | samba-ec49f28a52a67ba7afc3357d638a1d932cd2b474.tar.gz samba-ec49f28a52a67ba7afc3357d638a1d932cd2b474.tar.xz samba-ec49f28a52a67ba7afc3357d638a1d932cd2b474.zip |
s3/pam: move variable declaration into belonging ifdef section
This fixes a unused variable 'addr' warning on some platforms
Diffstat (limited to 'source3/auth/pampass.c')
-rw-r--r-- | source3/auth/pampass.c | 2 |
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; |