Re: [PATCH] net: netfilter: Remove multiple assignment.

From: Pablo Neira Ayuso
Date: Mon Mar 27 2017 - 08:09:01 EST


On Sat, Mar 25, 2017 at 06:19:47PM +0530, Arushi Singhal wrote:
> This patch removes multiple assignments.
> Done using coccinelle.
> @@
> identifier i1,i2;
> constant c;
> @@
> - i1=i2=c;
> + i1=c;
> + i2=c;

You have to explain why this is bad.