mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Split a = b = c statement to remove warnings (errors) from picking compilers
This commit is contained in:
parent
85b3f80869
commit
146f9d7ddf
@ -541,7 +541,8 @@ IA5StringConvert(
|
||||
struct berval *bv = ch_malloc( sizeof(struct berval) );
|
||||
|
||||
bv->bv_len = len * sizeof( ldap_unicode_t );
|
||||
bv->bv_val = (char *) u = ch_malloc( bv->bv_len + sizeof(ldap_unicode_t) );
|
||||
u = (ldap_unicode_t *) ch_malloc( bv->bv_len + sizeof(ldap_unicode_t) );
|
||||
bv->bv_val = (char *) u;
|
||||
|
||||
for(i=0; i < len; i++ ) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user