summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-28 10:53:53 +0200
committerGünther Deschner <gd@samba.org>2009-05-28 11:53:51 +0200
commit37e4c92b383397a2c77db7e5d8adf2fa4a24d398 (patch)
treeafdbc8006ab9ced2aac091b3e1fec1e93f811fa4 /lib
parent0dbecbbee5018108131869b13db649a058f4359d (diff)
downloadsamba-37e4c92b383397a2c77db7e5d8adf2fa4a24d398.tar.gz
samba-37e4c92b383397a2c77db7e5d8adf2fa4a24d398.tar.bz2
samba-37e4c92b383397a2c77db7e5d8adf2fa4a24d398.zip
nss_wrapper: remove re-structuring leftovers (unused variables).
Guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/nss_wrapper/nss_wrapper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index 09603b8794..3c061f0de8 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -855,8 +855,6 @@ static struct passwd *nwrap_files_getpwuid(uid_t uid)
_PUBLIC_ struct passwd *nwrap_getpwuid(uid_t uid)
{
- int i;
-
if (!nwrap_enabled()) {
return real_getpwuid(uid);
}
@@ -1057,8 +1055,6 @@ static int nwrap_files_getgrnam_r(const char *name, struct group *grdst,
_PUBLIC_ int nwrap_getgrnam_r(const char *name, struct group *grdst,
char *buf, size_t buflen, struct group **grdstp)
{
- struct group *gr;
-
if (!nwrap_enabled()) {
return real_getgrnam_r(name, grdst, buf, buflen, grdstp);
}
@@ -1091,8 +1087,6 @@ static struct group *nwrap_files_getgrgid(gid_t gid)
_PUBLIC_ struct group *nwrap_getgrgid(gid_t gid)
{
- int i;
-
if (!nwrap_enabled()) {
return real_getgrgid(gid);
}