diff packages/redboot/current/src/fconfig.c @ 1822:b9ae2f90a53e

* src/fconfig.c (flash_write_config): Removed compiler warning when building redboot with combined FIS and config.
author asl
date Tue, 09 Nov 2004 18:46:37 +0000
parents 0031b615f51c
children 2379473fdc8d
line wrap: on
line diff
--- a/packages/redboot/current/src/fconfig.c
+++ b/packages/redboot/current/src/fconfig.c
@@ -768,8 +768,8 @@ void
 flash_write_config(bool prompt)
 {
 #if defined(CYGHWR_REDBOOT_FLASH_CONFIG_MEDIA_FLASH)
+#if !defined(CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG)
     void *err_addr;
-#if !defined(CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG)
     int stat;
 #endif
 #endif