From 84c8c656d0f4b4a0deab4064dd33d4a9fff8519d Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 4 Sep 2011 10:38:01 +0000 Subject: 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 Signed-off-by: Blue Swirl --- qemu-io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qemu-io.c b/qemu-io.c index 7e40c48951..5e46213af1 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -992,7 +992,6 @@ static int multiwrite_f(int argc, char **argv) optind = j + 1; - offset += reqs[i].qiov->size; pattern++; } -- cgit v1.2.3