Commit 60bd3dcc authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Axe a dead variable


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106077 13f79535-47bb-0310-9956-ffa450edef68
parent f321b36b
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -403,9 +403,11 @@ start_over:
                      "user %s authentication failed; URI %s [%s][%s]",
                      getpid(), user, r->uri, ldc->reason, ldap_err2string(result));

        return (LDAP_NO_SUCH_OBJECT == result) ? AUTH_USER_NOT_FOUND: \
               (LDAP_SECURITY_ERROR(result)) ? AUTH_DENIED: \
               AUTH_GENERAL_ERROR;
        return (LDAP_NO_SUCH_OBJECT == result) ? AUTH_USER_NOT_FOUND
#ifdef LDAP_SECURITY_ERROR
                 : (LDAP_SECURITY_ERROR(result)) ? AUTH_DENIED
#endif
                 : AUTH_GENERAL_ERROR;
    }

    /* mark the user and DN */
@@ -478,7 +480,6 @@ static int authz_ldap_check_user_access(request_rec *r)
    const char *dn = NULL;
    const char **vals = NULL;
    const char *type = ap_auth_type(r);
    char *tmpuser;

/*
    if (!sec->enabled) {