From: Dirkjan Bussink Date: Fri, 14 Sep 2018 12:31:22 +0000 (+0200) Subject: CLEANUP: stick-tables: Remove unneeded double (()) around conditional clause X-Git-Tag: v1.9-dev4~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff57f1bbcf8af1e6389520aa845df5aa97ef55b6;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/stick_table.c b/src/stick_table.c index d2aea6d975..a65ceb056e 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -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;