From: Arran Cudbard-Bell Date: Fri, 26 May 2017 01:40:08 +0000 (-0400) Subject: CID 1409863: our_err is no longer used X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834ff04d599ed7191dc951b2d7c1ae8ee0e4db81;p=thirdparty%2Ffreeradius-server.git CID 1409863: our_err is no longer used --- diff --git a/src/lib/ldap/libfreeradius-ldap.c b/src/lib/ldap/libfreeradius-ldap.c index fd9d34c6899..de5c07c6463 100644 --- a/src/lib/ldap/libfreeradius-ldap.c +++ b/src/lib/ldap/libfreeradius-ldap.c @@ -184,7 +184,6 @@ fr_ldap_rcode_t fr_ldap_error_check(LDAPControl ***ctrls, fr_ldap_conn_t const * int srv_errno = LDAP_SUCCESS; /* errno in the result message */ char *part_dn = NULL; /* Partial DN match */ - char *our_err = NULL; /* Our extended error message */ char *srv_err = NULL; /* Server's extended error message */ ssize_t len; @@ -335,7 +334,6 @@ process_error: ldap_err2string(srv_errno), srv_errno); } - if (our_err) fr_strerror_printf("%s. %s", fr_strerror(), our_err); if (srv_err) fr_strerror_printf("%s. Server said: %s", fr_strerror(), srv_err); break;