diff options
author | eivind <eivind@FreeBSD.org> | 1999-01-12 00:19:33 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-01-12 00:19:33 +0000 |
commit | cbd074fa1fba591786a07f3f9cf8ba28aea61a2a (patch) | |
tree | 49d317e2ca5c9cd2a4bf9118058840679cc736ce /sys/amd64 | |
parent | 1005b34c8c5d74300ad3cbe6ac99d5f421f325f9 (diff) | |
download | FreeBSD-src-cbd074fa1fba591786a07f3f9cf8ba28aea61a2a.zip FreeBSD-src-cbd074fa1fba591786a07f3f9cf8ba28aea61a2a.tar.gz |
Silence warnings.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 6 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 6 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 17e6945..dd9f144 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $ + * $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $ */ #include "opt_smp.h" @@ -1009,8 +1009,8 @@ fix_mp_table(void) { int x; int id; - int bus_0; - int bus_pci; + int bus_0 = 0; /* Stop GCC warning */ + int bus_pci = 0; /* Stop GCC warning */ int num_pci_bus; /* diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index 17e6945..dd9f144 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $ + * $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $ */ #include "opt_smp.h" @@ -1009,8 +1009,8 @@ fix_mp_table(void) { int x; int id; - int bus_0; - int bus_pci; + int bus_0 = 0; /* Stop GCC warning */ + int bus_pci = 0; /* Stop GCC warning */ int num_pci_bus; /* diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 17e6945..dd9f144 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $ + * $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $ */ #include "opt_smp.h" @@ -1009,8 +1009,8 @@ fix_mp_table(void) { int x; int id; - int bus_0; - int bus_pci; + int bus_0 = 0; /* Stop GCC warning */ + int bus_pci = 0; /* Stop GCC warning */ int num_pci_bus; /* |