summaryrefslogtreecommitdiffstats
path: root/src/sss_client
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-26 13:06:26 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-03 11:46:17 -0400
commit5f93f452e4a80d6b0243eaf3c583d0caf9981ca0 (patch)
tree73a0d654872cc5d8d4386894cdac491fdd3c8463 /src/sss_client
parent07002c911aa643000856f78707f1fee72b5eea29 (diff)
downloadsssd-5f93f452e4a80d6b0243eaf3c583d0caf9981ca0.tar.gz
sssd-5f93f452e4a80d6b0243eaf3c583d0caf9981ca0.tar.xz
sssd-5f93f452e4a80d6b0243eaf3c583d0caf9981ca0.zip
AUTOFS: remove unused assignments
Also changes setautomntent_send so that is only return NULL in case the tevent_req creation fails.
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/autofs/sss_autofs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sss_client/autofs/sss_autofs.c b/src/sss_client/autofs/sss_autofs.c
index 0125e6eec..e87ef4fd2 100644
--- a/src/sss_client/autofs/sss_autofs.c
+++ b/src/sss_client/autofs/sss_autofs.c
@@ -281,7 +281,6 @@ _sss_getautomntent_r(char **key, char **value, void *context)
}
/* Don't try to handle any error codes, just go to the responder again */
- ret = 0;
data_len = sizeof(uint32_t) + /* mapname len */
name_len + 1 + /* mapname\0 */
sizeof(uint32_t) + /* index into the map */