aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-02-06 15:36:48 -0800
committerLinus Torvalds <[email protected]>2018-02-06 18:32:43 -0800
commit48c232395431c23d35cf3b4c5a090bd793316578 (patch)
tree439635b969431aefbf322eecf5368c1a3a152af3 /lib/string_helpers.c
parent917538e212a2c080af95ccb4376c5387fac08176 (diff)
kasan: remove redundant initialization of variable 'real_size'
Variable real_size is initialized with a value that is never read, it is re-assigned a new value later on, hence the initialization is redundant and can be removed. Cleans up clang warning: lib/test_kasan.c:422:21: warning: Value stored to 'real_size' during its initialization is never read Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Colin Ian King <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions