[PATCH 0/2] Prevent uninitialized warnings

mrezanin@redhat.com posted 2 patches 4 years, 3 months ago
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1579598240.git.mrezanin@redhat.com
Maintainers: Joel Stanley <joel@jms.id.au>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Andrew Jeffery <andrew@aj.id.au>
hw/i2c/aspeed_i2c.c  | 2 +-
tests/test-logging.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
[PATCH 0/2] Prevent uninitialized warnings
Posted by mrezanin@redhat.com 4 years, 3 months ago
From: Miroslav Rezanina <mrezanin@redhat.com>

Using -Wmaybe-uninitialized when optimalization is enabled can cause 
several warnings during build. This will break build in case -Werror
is used.

This series fixes two cases of this warnings that can happen during
build of QEMU.

Miroslav Rezanina (2):
  test-logging: Fix -Werror=maybe-uninitialized warning
  aspeed/i2c: Prevent uninitialized warning

 hw/i2c/aspeed_i2c.c  | 2 +-
 tests/test-logging.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.8.3.1