mbox series

[0/2] Prevent uninitialized warnings

Message ID cover.1579598240.git.mrezanin@redhat.com
Headers show
Series Prevent uninitialized warnings | expand

Message

Miroslav Rezanina Jan. 21, 2020, 9:28 a.m. UTC
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(-)