# HG changeset patch # User Florian Pose # Date 1326127286 -3600 # Node ID 07a6c9cffb786a3e286f825828ed2ddcd5b4fbd5 # Parent b368897f7995f6ecfc27bc9b5300947f9995c2cf Avoided unused variable warnings. diff -r b368897f7995 -r 07a6c9cffb78 devices/8139too-2.6.37-ethercat.c --- a/devices/8139too-2.6.37-ethercat.c Mon Jan 09 15:17:27 2012 +0100 +++ b/devices/8139too-2.6.37-ethercat.c Mon Jan 09 17:41:26 2012 +0100 @@ -795,8 +795,10 @@ u8 tmp8; int rc, disable_dev_on_err = 0; unsigned int i; - unsigned long pio_start, pio_end, pio_flags, pio_len; - unsigned long mmio_start, mmio_end, mmio_flags, mmio_len; + unsigned long pio_start, pio_end __attribute__ ((unused)), pio_flags, + pio_len; + unsigned long mmio_start __attribute__ ((unused)), + mmio_end __attribute__ ((unused)), mmio_flags, mmio_len; u32 version; assert (pdev != NULL);