diff options
Diffstat (limited to 'hw/misc/pci-testdev.c')
-rw-r--r-- | hw/misc/pci-testdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/pci-testdev.c b/hw/misc/pci-testdev.c index 7d5990213e..abfc2df4e7 100644 --- a/hw/misc/pci-testdev.c +++ b/hw/misc/pci-testdev.c @@ -279,6 +279,7 @@ static void pci_testdev_realize(PCIDevice *pci_dev, Error **errp) } r = event_notifier_init(&test->notifier, 0); assert(r >= 0); + (void)r; test->hasnotifier = true; } } |