]> Git Repo - qemu.git/commit - hw/usb-serial.c
Fix QEMU_WARN_UNUSED_RESULT
authorKevin Wolf <[email protected]>
Fri, 15 Jan 2010 11:56:41 +0000 (12:56 +0100)
committerAnthony Liguori <[email protected]>
Tue, 19 Jan 2010 22:31:04 +0000 (16:31 -0600)
commitbeb6f0de7aa19ce62fdd21a876b8c171ac7fde2e
tree8955992d29c37fd607dd79006d8d9737c83a8dc6
parent0d2ed46af43365fd713532c5eb9450380635b694
Fix QEMU_WARN_UNUSED_RESULT

Since commit 747bbdf7 QEMU_WARN_UNUSED_RESULT is never defined as it is
conditional on a define from config-host.h which is included only later.
Include that file earlier to get the warnings back.

Reactivating it unfortunately leads to some warnings about unused qdev_init
results. These calls are changed to qdev_init_nofail to avoid build failures.

Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/usb-net.c
hw/usb-serial.c
qemu-common.h
usb-linux.c
This page took 0.026967 seconds and 4 git commands to generate.