declarations must occur before instructions

This commit is contained in:
Pierangelo Masarati 2004-03-08 11:01:52 +00:00
parent c81161ed86
commit 2d8467d480

View file

@ -47,10 +47,11 @@ int passwd_extop(
Operation op2;
slap_callback cb = { NULL, slap_null_cb, NULL, NULL };
slap_callback cb2 = { NULL, slap_replog_cb, NULL, NULL };
cb2.sc_next = &cb;
int i, nhash;
char **hashes;
cb2.sc_next = &cb;
assert( ber_bvcmp( &slap_EXOP_MODIFY_PASSWD, &op->ore_reqoid ) == 0 );
if( op->o_dn.bv_len == 0 ) {