+1
−1
+2
−2
+2
−1
+1
−1
Loading
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 <kwolf@redhat.com> Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>