Skip to content
Snippets Groups Projects
Commit 75757a5c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Don't reeval expression

parent 870c3cb5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment