mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-09 22:04:12 -05:00
Don't reeval expression
This commit is contained in:
parent
870c3cb5c6
commit
75757a5c82
1 changed files with 4 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ bdb_bt_compare(
|
|||
const DBT *curkey
|
||||
)
|
||||
{
|
||||
unsigned char *u, *c;
|
||||
unsigned char x, *u, *c;
|
||||
int i;
|
||||
|
||||
u = usrkey->data;
|
||||
|
|
@ -131,9 +131,10 @@ bdb_bt_compare(
|
|||
for( i = sizeof(ID)-1; i >= 0; i--)
|
||||
#endif
|
||||
{
|
||||
if( u[i] - c[i] )
|
||||
return u[i] - c[i];
|
||||
x = u[i] - c[i];
|
||||
if( x ) return x;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue