summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2009-11-13 11:39:57 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2009-11-13 11:39:57 +0000
commit7d56b9e5d301487576f5a39d01a9c7a2968ea52b (patch)
tree0cb8a73ae4ed28ae525439864203f9391761a605
parenta0b97cf3e5a61f962ca30964fc8e8b5089c6826e (diff)
Initialize uninititialized variable.
Not an issue as it does get initialized correctly before use, but reduces warning.
-rw-r--r--sys/dev/acpi/dsdt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 5411c4563fc..eeb63113952 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.155 2009/10/16 15:49:25 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.156 2009/11/13 11:39:56 jordan Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -3345,6 +3345,7 @@ aml_xparse(struct aml_scope *scope, int ret_type, const char *stype)
maxdp = odp;
dnprintf(10, "max depth: %d\n", maxdp);
}
+ end = NULL;
iscope = scope;
start:
/* --== Stage 0: Get Opcode ==-- */