summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-08 19:21:09 +0000
committerJeremy Allison <jra@samba.org>2000-12-08 19:21:09 +0000
commit0f1ead1c93f1dcbbb3f108e4d879778d6b00d82e (patch)
tree6e18122288facc678bf940f032e6a46cca994ed3 /source3/smbd
parente15921110a6e88b26ed978e5f3697404f673acf7 (diff)
downloadsamba-0f1ead1c93f1dcbbb3f108e4d879778d6b00d82e.tar.gz
samba-0f1ead1c93f1dcbbb3f108e4d879778d6b00d82e.tar.bz2
samba-0f1ead1c93f1dcbbb3f108e4d879778d6b00d82e.zip
Removed unused auto (IRIX compiler warning).
Jeremy. (This used to be commit 63e2ebc4272cd8bc52ea80e1e12996ab273b8ea4)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index f9657eb9ee..7232bffd11 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -210,7 +210,6 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name,
char *domain,BOOL guest)
{
user_struct *vuser = NULL;
- user_struct *vsp;
struct passwd *pwfile; /* for getting real name from passwd file */
/* Ensure no vuid gets registered in share level security. */
@@ -232,7 +231,7 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name,
unix_name, requested_name, domain, guest ));
/* Allocate a free vuid. Yes this is a linear search... :-) */
- while( (vsp = get_valid_user_struct(next_vuid)) != NULL ) {
+ while( get_valid_user_struct(next_vuid) != NULL ) {
next_vuid++;
/* Check for vuid wrap. */
if (next_vuid == UID_FIELD_INVALID)