diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 00:19:33 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 00:19:33 +0000 |
commit | 1950f5900782d979c2cb71e760f351bd50699a07 (patch) | |
tree | f4bf7bf2c97e53f9917e19c28f88272cdedafccc /sys/amd64 | |
parent | fd8d7e3875b739be50e471cd87c52747080c7080 (diff) | |
download | src-1950f5900782d979c2cb71e760f351bd50699a07.tar.gz src-1950f5900782d979c2cb71e760f351bd50699a07.zip |
Silence warnings.
Notes
Notes:
svn path=/head/; revision=42543
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 17e69457c39b..dd9f14422f59 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 17e69457c39b..dd9f14422f59 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 17e69457c39b..dd9f14422f59 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; /* |