mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
qemu-io: remove unnecessary assignment
Remove an unnecessary assignment, spotted by clang analyzer: /src/qemu/qemu-io.c:995:9: warning: Value stored to 'offset' is never read offset += reqs[i].qiov->size; Acked-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7948a66574
commit
84c8c656d0
1 changed files with 0 additions and 1 deletions
|
@ -992,7 +992,6 @@ static int multiwrite_f(int argc, char **argv)
|
||||||
|
|
||||||
optind = j + 1;
|
optind = j + 1;
|
||||||
|
|
||||||
offset += reqs[i].qiov->size;
|
|
||||||
pattern++;
|
pattern++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue