summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-31 10:00:06 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-31 10:00:06 +0000
commit3efedf8d8c1b96cac78e5f2b05bbb24019b0a0e0 (patch)
treecd32fde7ebe20f4ac3a06054ccb67cdb5ffc50eb /sys
parentc8a213d794b3987e8c48dd94c08a1d87df75f7c7 (diff)
possibly uninitialized vasriable used in DEBUG code piece; from deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/apm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c
index 9f06f9be8cf..ba2dc2cd08a 100644
--- a/sys/arch/i386/i386/apm.c
+++ b/sys/arch/i386/i386/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.29 2000/01/31 02:04:35 mickey Exp $ */
+/* $OpenBSD: apm.c,v 1.30 2000/01/31 10:00:05 mickey Exp $ */
/*-
* Copyright (c) 1998-2000 Michael Shalayeff. All rights reserved.
@@ -647,7 +647,7 @@ apm_set_ver(self)
struct apm_softc *self;
{
struct apmregs regs;
- int rv;
+ int rv = 0;
bzero(&regs, sizeof(regs));
regs.cx = APM_VERSION;