]> git.proxmox.com Git - mirror_qemu.git/commit
hid: fix misassignment
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 4 Sep 2011 10:59:52 +0000 (10:59 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 14:49:51 +0000 (14:49 +0000)
commit18f88f1195e32afd86eab2bda083f4624180e3f4
tree0ebbfe4c8659e3d0bc0ab0f0f885bf2a2f3d47b2
parent48bb9f53f4944771bc5d7bf89bbaa61094ad4382
hid: fix misassignment

The code does not have any effect as is, fix it.

Spotted by clang analyzer:
/src/qemu/hw/hid.c:99:13: warning: Value stored to 'x1' is never read
            x1 = 1;

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/hid.c