mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
CLEANUP: stick-tables: Remove unneeded double (()) around conditional clause
In the past this conditional had multiple conditionals which is why the additional parentheses were needed. The conditional was simplified but the duplicate parentheses were not cleaned up.
This commit is contained in:
parent
c26c72d89b
commit
ff57f1bbcf
1 changed files with 1 additions and 1 deletions
|
|
@ -2016,7 +2016,7 @@ smp_fetch_sc_tracked(const struct arg *args, struct sample *smp, const char *kw,
|
|||
smp->data.u.sint = !!stkctr;
|
||||
|
||||
/* release the ref count */
|
||||
if ((stkctr == &tmpstkctr))
|
||||
if (stkctr == &tmpstkctr)
|
||||
stktable_release(stkctr->table, stkctr_entry(stkctr));
|
||||
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue