diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2012-01-24 12:59:32 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2012-01-24 12:59:32 -0500 |
commit | f81bef36f83f0787dc84ee86187f2d7668a69758 (patch) | |
tree | 396ad1264ecd8854a8c5eb3f46433234b936778d /src/nis.c | |
parent | a854ade819cefe802d4834f980313501390bc8cc (diff) | |
download | slapi-nis-f81bef36f83f0787dc84ee86187f2d7668a69758.tar.gz slapi-nis-f81bef36f83f0787dc84ee86187f2d7668a69758.tar.xz slapi-nis-f81bef36f83f0787dc84ee86187f2d7668a69758.zip |
- remove unused variables
Diffstat (limited to 'src/nis.c')
-rw-r--r-- | src/nis.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -892,7 +892,7 @@ nis_process_request(struct plugin_state *state, AUTH *request_auth, *reply_auth; char auth_buf[MAX_AUTH_BYTES]; struct rpc_msg request, reply; - int superuser, auth_flavor, auth_len; + int auth_flavor, auth_len; struct ypresp_val reply_val; struct ypresp_key_val reply_key_val; struct ypresp_all reply_all; @@ -948,26 +948,22 @@ nis_process_request(struct plugin_state *state, slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated auth_sys creds\n"); - superuser = 0; break; case AUTH_NONE: slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated \"none\" creds\n"); - superuser = 0; break; default: slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "validated other creds\n"); - superuser = 0; break; } } else { slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "failed to validate client creds\n"); - superuser = 0; } auth_destroy(request_auth); |