X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel-bio-rw-syncio.m4;h=4bff80a8f863d057c1b31d8d633be91c2d84f1e9;hb=cac1f230e0537ceddead464dbd140e23a0556be6;hp=6f8b5b59157c23eec2d9ec37a2aae4f9d032e01c;hpb=675de5aa379bfceb0258a20c4ccd1414e4798ee6;p=zfs.git diff --git a/config/kernel-bio-rw-syncio.m4 b/config/kernel-bio-rw-syncio.m4 index 6f8b5b5..4bff80a 100644 --- a/config/kernel-bio-rw-syncio.m4 +++ b/config/kernel-bio-rw-syncio.m4 @@ -9,7 +9,7 @@ AC_DEFUN([ZFS_AC_KERNEL_BIO_RW_SYNC], [ ZFS_LINUX_TRY_COMPILE([ #include ],[ - int flags; + int flags __attribute__ ((unused)); flags = BIO_RW_SYNC; ],[ AC_MSG_RESULT(yes) @@ -24,7 +24,7 @@ AC_DEFUN([ZFS_AC_KERNEL_BIO_RW_SYNCIO], [ ZFS_LINUX_TRY_COMPILE([ #include ],[ - int flags; + int flags __attribute__ ((unused)); flags = BIO_RW_SYNCIO; ],[ AC_MSG_RESULT(yes) @@ -39,7 +39,7 @@ AC_DEFUN([ZFS_AC_KERNEL_REQ_SYNC], [ ZFS_LINUX_TRY_COMPILE([ #include ],[ - int flags; + int flags __attribute__ ((unused)); flags = REQ_SYNC; ],[ AC_MSG_RESULT(yes)