diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-09-04 10:38:01 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 14:46:52 +0000 |
commit | 84c8c656d0f4b4a0deab4064dd33d4a9fff8519d (patch) | |
tree | b4e9d15a7094845484744a689c5e937582fd39f7 /qemu-io.c | |
parent | 7948a66574c3efd2e922853429b197840d119879 (diff) | |
download | qemu-84c8c656d0f4b4a0deab4064dd33d4a9fff8519d.tar.gz qemu-84c8c656d0f4b4a0deab4064dd33d4a9fff8519d.tar.bz2 qemu-84c8c656d0f4b4a0deab4064dd33d4a9fff8519d.zip |
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>
Diffstat (limited to 'qemu-io.c')
-rw-r--r-- | qemu-io.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -992,7 +992,6 @@ static int multiwrite_f(int argc, char **argv) optind = j + 1; - offset += reqs[i].qiov->size; pattern++; } |