diff options
author | 2022-03-01 12:07:32 +0000 | |
---|---|---|
committer | 2022-04-04 16:27:44 -0400 | |
commit | 29d1c2b47ef3b39a5bc58e060a4ee23ccf3d052e (patch) | |
tree | 2598db948ad77aafa43fdb37ab693076ca4003ae /scripts/generate_rust_analyzer.py | |
parent | Linux 5.18-rc1 (diff) | |
download | wireguard-linux-29d1c2b47ef3b39a5bc58e060a4ee23ccf3d052e.tar.xz wireguard-linux-29d1c2b47ef3b39a5bc58e060a4ee23ccf3d052e.zip |
ima: remove redundant initialization of pointer 'file'.
The pointer 'file' is being initialized with a value that is never read,
it is being re-assigned the same value later on closer to where it is
being first used. The initialization is redundant and can be removed.
Cleans up clang scan build warning:
security/integrity/ima/ima_main.c:434:15: warning: Value stored to 'file'
during its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions