Skip to content
Commit 610defdc authored by Colin Ian King's avatar Colin Ian King Committed by Mike Marshall
Browse files

orangefs: remove redundant assignment to variable buffer_index



The variable buffer_index is assigned a value that is never read,
it is assigned just before the function returns. The assignment is
redundant and can be removed.

Cleans up clang scan build warning:
fs/orangefs/file.c:276:3: warning: Value stored to 'buffer_index'
is never read [deadcode.DeadStores]

Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent b3525072
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment