diff -purN -x CVS u-boot-trigraph_files_fix/board/altera/common/sevenseg.c u-boot-unused_warn_fix/board/altera/common/sevenseg.c --- u-boot-trigraph_files_fix/board/altera/common/sevenseg.c Sat Jan 3 20:43:48 2004 +++ u-boot-unused_warn_fix/board/altera/common/sevenseg.c Fri Jan 9 17:01:41 2004 @@ -44,7 +44,7 @@ static int sevenseg_init_done = 0; static inline void __sevenseg_set_masked (unsigned int mask, int value) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; #ifdef SEVENSEG_WRONLY /* emulate read access */ @@ -97,7 +97,7 @@ static inline void __sevenseg_toggle_mas static inline void __sevenseg_set (unsigned int value) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; #ifdef SEVENSEG_WRONLY /* emulate read access */ @@ -126,7 +126,7 @@ static inline void __sevenseg_set (unsig static inline void __sevenseg_init (void) { - nios_pio_t *piop = (nios_pio_t*)SEVENSEG_BASE; + nios_pio_t *piop __attribute__((unused)) = (nios_pio_t*)SEVENSEG_BASE; __sevenseg_set(0);