]> git.proxmox.com Git - qemu.git/commit
qemu-io: remove unnecessary assignment
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 4 Sep 2011 10:38:01 +0000 (10:38 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 14:46:52 +0000 (14:46 +0000)
commit84c8c656d0f4b4a0deab4064dd33d4a9fff8519d
treeb4e9d15a7094845484744a689c5e937582fd39f7
parent7948a66574c3efd2e922853429b197840d119879
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>
qemu-io.c