summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/dynalib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd/dynalib.c')
-rw-r--r--ldap/servers/slapd/dynalib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/dynalib.c b/ldap/servers/slapd/dynalib.c
index a939996d..41dfaf91 100644
--- a/ldap/servers/slapd/dynalib.c
+++ b/ldap/servers/slapd/dynalib.c
@@ -150,12 +150,12 @@ static void
symload_report_error( const char *libpath, char *symbol, char *plugin, int libopen )
{
char *errtext = NULL;
- PRInt32 errlen, err;
+ PRInt32 errlen;
errlen = PR_GetErrorTextLength();
if ( errlen > 0 ) {
errtext = slapi_ch_malloc( errlen );
- if (( err = PR_GetErrorText( errtext )) > 0 ) {
+ if ( PR_GetErrorText( errtext ) > 0 ) {
LDAPDebug( LDAP_DEBUG_ANY, SLAPI_COMPONENT_NAME_NSPR " error %d: %s\n",
PR_GetError(), errtext, 0 );
}