diff options
| author | Miroslav Rezanina <mrezanin@redhat.com> | 2020-01-21 10:28:13 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2020-02-04 09:00:57 +0100 |
| commit | 24f7eeed9ad7f90975c2da44425d15b8f0837120 (patch) | |
| tree | ea3db2f26dc5603adbcd3ac1cf7f881f2297c327 /hw/i2c/omap_i2c.c | |
| parent | f31160c7d1b89cfb4dd4001a23575b42141cb0ec (diff) | |
| download | focaccia-qemu-24f7eeed9ad7f90975c2da44425d15b8f0837120.tar.gz focaccia-qemu-24f7eeed9ad7f90975c2da44425d15b8f0837120.zip | |
test-logging: Fix -Werror=maybe-uninitialized warning
Checking for uninitialized variables raises warning for file path variables in test_logfile_write and test_logfile_lock functions. To suppress this warning, initialize varibles to NULL. This is safe change as result of g_build_filename is stored to them before any usage. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Message-Id: <63b0fcedf7dfe799c8210b113e5dccf32414a89d.1579598240.git.mrezanin@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Robert Foley <robert.foley@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions