mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
cleanup
This commit is contained in:
parent
ffc343a485
commit
4010870f62
@ -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) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user