]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - config/kernel-bio-end-io-t-args.m4
Fix configure tests to play nice with GCC 4.6
[mirror_zfs-debian.git] / config / kernel-bio-end-io-t-args.m4
index ea69bdba56051213af361b6c9d3270eaccb0ea69..ced486193d9acfd096a4b32d0124ac206b049328 100644 (file)
@@ -15,7 +15,7 @@ AC_DEFUN([ZFS_AC_KERNEL_BIO_END_IO_T_ARGS], [
                #include <linux/bio.h>
        ],[
                void (*wanted_end_io)(struct bio *, int) = NULL;
-               bio_end_io_t *local_end_io;
+               bio_end_io_t *local_end_io __attribute__ ((unused));
 
                local_end_io = wanted_end_io;
        ],[