lib: qemu: Also suppress -Wnonnull warning in yajl code.

Required by gcc-7.1.1.

Updates commit 3d2b84231f.
This commit is contained in:
Richard W.M. Jones
2017-09-14 17:17:15 +01:00
parent 2680263f68
commit e2773e679f

View File

@@ -586,6 +586,7 @@ guestfs_int_qemu_supports_device (guestfs_h *g,
#pragma GCC diagnostic push
#if defined(__GNUC__) && __GNUC__ >= 6 /* gcc >= 6 */
#pragma GCC diagnostic ignored "-Wnull-dereference"
#pragma GCC diagnostic ignored "-Wnonnull"
#endif
/**