Julia Lawall 073bf17261 i810: delete useless variable
Delete a variable that is at most only assigned to a constant, but never
used otherwise.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
identifier i;
constant c;
@@

-T i;
<... when != i
-i = c;
...>
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-01-17 10:57:50 +02:00
..
2011-03-31 11:26:23 -03:00
2009-12-16 07:20:02 -08:00
2014-01-17 10:57:50 +02:00
2005-11-07 07:53:52 -08:00
2005-09-09 14:03:41 -07:00