# HG changeset patch # User Mike Becker # Date 1431967365 -7200 # Node ID a82f3456b76d336a10bfc8480802cf9fb734e340 # Parent 1b4cdafef2eb2e95ccb2c99af3cb905d63d7c7d0 fuck -Wparentheses diff -r 1b4cdafef2eb -r a82f3456b76d ucx/avl.c --- a/ucx/avl.c Mon May 18 18:39:19 2015 +0200 +++ b/ucx/avl.c Mon May 18 18:42:45 2015 +0200 @@ -146,8 +146,8 @@ if (tree->root) { UcxAVLNode *n = tree->root; int cmpresult; - while (cmpresult = tree->cmpfunc( - ptrcast(key), ptrcast(n->key), tree->userdata)) { + while ((cmpresult = tree->cmpfunc( + ptrcast(key), ptrcast(n->key), tree->userdata))) { UcxAVLNode *m = cmpresult > 0 ? n->right : n->left; if (m) { n = m;