On Wed, Oct 28, 2020 at 02:31:06PM +0100, Lukas Bulwahn wrote:
> make clang-analyzer on x86_64 defconfig caught my attention with:
>
> drivers/char/agp/amd64-agp.c:336:2: warning: \
> Value stored to 'i' is never read [clang-analyzer-deadcode.DeadStores]
> i = 0;
> ^
>
>
On 10/28/20 6:31 AM, Lukas Bulwahn wrote:
> make clang-analyzer on x86_64 defconfig caught my attention with:
>
> drivers/char/agp/amd64-agp.c:336:2: warning: \
> Value stored to 'i' is never read [clang-analyzer-deadcode.DeadStores]
> i = 0;
> ^
>
> Remove this unneeded
make clang-analyzer on x86_64 defconfig caught my attention with:
drivers/char/agp/amd64-agp.c:336:2: warning: \
Value stored to 'i' is never read [clang-analyzer-deadcode.DeadStores]
i = 0;
^
Remove this unneeded initialization to make clang-analyzer happy.
Commit
3 matches
Mail list logo