diff packages/redboot/current/src/main.c @ 913:3c59fd67ae50

* src/main.c (do_go): Silence unused variable warning when no net.
author jlarmour
date Tue, 08 Apr 2003 05:09:05 +0000
parents 6aa5728bb6a0
children 609c8b1447ee
line wrap: on
line diff
--- a/packages/redboot/current/src/main.c
+++ b/packages/redboot/current/src/main.c
@@ -430,7 +430,9 @@ do_go(int argc, char *argv[])
     bool wait_time_set;
     int  wait_time, res;
     bool cache_enabled = false;
+#ifdef CYGPKG_IO_ETH_DRIVERS
     bool stop_net = false;
+#endif
     struct option_info opts[3];
     char line[8];
     hal_virtual_comm_table_t *__chan;