mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-05 18:31:32 +00:00
ehci: add assert
Coverity thinks q could be NULL there and warns. I believe it can't be NULL there. Add assert to prove it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
5931065907
commit
b246721614
@ -2046,6 +2046,7 @@ static void ehci_advance_state(EHCIState *ehci,
|
||||
break;
|
||||
|
||||
case EST_WRITEBACK:
|
||||
assert(q != NULL);
|
||||
again = ehci_state_writeback(q, async);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user