]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Wed, 29 Jan 2003 19:05:40 +0000 (19:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 29 Jan 2003 19:05:40 +0000 (19:05 +0000)
servers/slapd/add.c

index 1f155f52236e91ff2d1cb18ce66e6e1b95a18769..c9bb697f978252723ed71c14ad0204acf7279658 100644 (file)
@@ -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) );