[PATCH 0/5] misc: Reduce assert side-effects

Philippe Mathieu-Daudé posted 5 patches 5 years, 2 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200902080801.160652-1-philmd@redhat.com
hw/pci-bridge/pci_bridge_dev.c | 4 +---
hw/ppc/spapr.c                 | 3 +--
tcg/tcg.c                      | 3 +--
tests/qtest/ipmi-kcs-test.c    | 3 ++-
util/qsp.c                     | 4 +---
5 files changed, 6 insertions(+), 11 deletions(-)
[PATCH 0/5] misc: Reduce assert side-effects
Posted by Philippe Mathieu-Daudé 5 years, 2 months ago
Fix a Coverity warning in qtest,
do not declare local variable only used for assertions
(use them directly).

Philippe Mathieu-Daudé (5):
  tests/qtest/ipmi-kcs: Fix assert side-effect
  hw/pci-bridge: Do not declare local variable only used for assertion
  hw/ppc/spapr: Do not declare local variable only used for assertion
  tcg/tcg: Do not declare local variable only used for assertion
  util/qsp: Do not declare local variable only used for assertion

 hw/pci-bridge/pci_bridge_dev.c | 4 +---
 hw/ppc/spapr.c                 | 3 +--
 tcg/tcg.c                      | 3 +--
 tests/qtest/ipmi-kcs-test.c    | 3 ++-
 util/qsp.c                     | 4 +---
 5 files changed, 6 insertions(+), 11 deletions(-)

-- 
2.26.2