sim-card
/
qemu
Archived
10
0
Fork 0

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:
Blue Swirl 2011-09-04 10:38:01 +00:00
parent 7948a66574
commit 84c8c656d0
1 changed files with 0 additions and 1 deletions

View File

@ -992,7 +992,6 @@ static int multiwrite_f(int argc, char **argv)
optind = j + 1;
offset += reqs[i].qiov->size;
pattern++;
}