]> git.sur5r.net Git - openldap/commitdiff
vc: Fix last commit (checked for impossible error)
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 17 Jan 2011 13:59:51 +0000 (13:59 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 17 Jan 2011 13:59:51 +0000 (13:59 +0000)
contrib/slapd-modules/vc/vc.c

index 4e61bf5b4a9b72ac08e6e8d5e73671b35b4bfb2b..1ab561b80173f629b74cbc4549c774a33fc0ce3e 100644 (file)
@@ -82,9 +82,6 @@ vc_create_response(
        *val = NULL;
 
        ber_init2( ber, NULL, LBER_USE_DER );
-       if ( ber == NULL ) {
-               return -1;
-       }
 
        (void)ber_printf( ber, "{is" /*}*/ , resultCode, diagnosticMessage ? diagnosticMessage : "" );