summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-30 16:26:17 +0200
committerGünther Deschner <gd@samba.org>2011-05-30 17:41:18 +0200
commit508e1607764d993c4d9a84793ffb7cfd22357f91 (patch)
treed21d7ea399a51be6bfb1c2284a30c023196fc281 /source3/lib
parentbcc08dcc5258666bd1811806a35958cc68e7fc30 (diff)
downloadsamba-508e1607764d993c4d9a84793ffb7cfd22357f91.tar.gz
samba-508e1607764d993c4d9a84793ffb7cfd22357f91.tar.bz2
samba-508e1607764d993c4d9a84793ffb7cfd22357f91.zip
s3: fix some -Wunused-but-set-variable build warnings.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 7831e20a0a..28619a0e44 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -3137,7 +3137,6 @@ WERROR NetUserSetGroups_r(struct libnetapi_ctx *ctx,
size_t num_del_rids = 0;
uint32_t *member_rids = NULL;
- size_t num_member_rids = 0;
struct GROUP_USERS_INFO_0 *i0 = NULL;
struct GROUP_USERS_INFO_1 *i1 = NULL;
@@ -3263,7 +3262,6 @@ WERROR NetUserSetGroups_r(struct libnetapi_ctx *ctx,
}
member_rids = group_rids.ids;
- num_member_rids = group_rids.count;
status = dcerpc_samr_GetGroupsForUser(b, talloc_tos(),
&user_handle,