On Tue, 12 Jul 2016 05:24:35 +0200,
Amitoj Kaur Chawla wrote:
>
> Remove useless initialisation of variable whose value is reinitialised
> later.
>
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> type T;
> identifier x;
> constant C;
> expression e;
> @@
>
> T x
>
On Tue, 12 Jul 2016 05:24:35 +0200,
Amitoj Kaur Chawla wrote:
>
> Remove useless initialisation of variable whose value is reinitialised
> later.
>
> The Coccinelle semantic patch used to make this change is as follows:
> @@
> type T;
> identifier x;
> constant C;
> expression e;
> @@
>
> T x
>
Remove useless initialisation of variable whose value is reinitialised
later.
The Coccinelle semantic patch used to make this change is as follows:
@@
type T;
identifier x;
constant C;
expression e;
@@
T x
- = C
;
x = e;
Signed-off-by: Amitoj Kaur Chawla
---
Changes in
Remove useless initialisation of variable whose value is reinitialised
later.
The Coccinelle semantic patch used to make this change is as follows:
@@
type T;
identifier x;
constant C;
expression e;
@@
T x
- = C
;
x = e;
Signed-off-by: Amitoj Kaur Chawla
---
Changes in v2:
-Modify
4 matches
Mail list logo