On Tuesday, July 04, 2017 10:09:21 PM Gustavo A. R. Silva wrote:
> Remove unnecessary static on local variable hostbridge.
> Such variable is initialized before being used,
> on every execution path throughout the function.
> The static has no benefit and, removing it reduces
> the code size.
>
>
Viresh, Gustavo,
On Wed, Jul 05, 2017 at 09:23:44AM +0530, Viresh Kumar wrote:
> + Dominic,
>
> On 04-07-17, 22:09, Gustavo A. R. Silva wrote:
> > Remove unnecessary static on local variable hostbridge.
> > Such variable is initialized before being used,
> > on every execution path throughout the
Remove unnecessary static on local variable hostbridge.
Such variable is initialized before being used,
on every execution path throughout the function.
The static has no benefit and, removing it reduces
the code size.
This issue was detected using Coccinelle and the following semantic patch:
@ba
+ Dominic,
On 04-07-17, 22:09, Gustavo A. R. Silva wrote:
> Remove unnecessary static on local variable hostbridge.
> Such variable is initialized before being used,
> on every execution path throughout the function.
> The static has no benefit and, removing it reduces
> the code size.
>
> This i
4 matches
Mail list logo