From: Pierangelo Masarati Date: Wed, 29 Jan 2003 19:05:40 +0000 (+0000) Subject: cleanup X-Git-Tag: NO_SLAP_OP_BLOCKS~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4010870f628ad3cffc7cc1cbdf323169aff24bb8;p=thirdparty%2Fopenldap.git cleanup --- diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 1f155f5223..c9bb697f97 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -298,8 +298,6 @@ do_add( Connection *conn, Operation *op ) } if (mod == NULL) { - struct berval bv; - #define BAILOUT #ifdef BAILOUT /* bail out */ @@ -311,6 +309,8 @@ do_add( Connection *conn, Operation *op ) goto done; #else /* ! BAILOUT */ + struct berval bv; + /* add attribute type and value to modlist */ mod = (Modifications *) ch_malloc( sizeof(Modifications) );