mirror of https://gitee.com/openkylin/qemu.git
84d18f065f
error_is_set(&var) is the same as var != NULL, but it takes whole-program analysis to figure that out. Unnecessarily hard for optimizers, static checkers, and human readers. Dumb it down to obvious. Gets rid of several dozen Coverity false positives. Note that the obvious form is already used in many places. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
msi.c | ||
msix.c | ||
pci-hotplug-old.c | ||
pci-stub.c | ||
pci.c | ||
pci_bridge.c | ||
pci_host.c | ||
pcie.c | ||
pcie_aer.c | ||
pcie_host.c | ||
pcie_port.c | ||
shpc.c | ||
slotid_cap.c |