aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2018-06-25 10:52:41 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2018-06-25 10:52:41 +0000
commit120186ad8c93eba39f6c08b66f6dfc93fab1387b (patch)
treefd929f405b58d914fdc679c5ec82bd805f8d8183 /sys/dev/vt
parent8f62926e036b909d165162df8b2a66b60fa33ecc (diff)
downloadsrc-120186ad8c93eba39f6c08b66f6dfc93fab1387b.tar.gz
src-120186ad8c93eba39f6c08b66f6dfc93fab1387b.zip
Always initialize the ignore local variable.
Reviewed by: royger Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D16004
Notes
Notes: svn path=/head/; revision=335631
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/hw/vga/vt_vga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c
index a30e0101b5cb..773b0eaad3a5 100644
--- a/sys/dev/vt/hw/vga/vt_vga.c
+++ b/sys/dev/vt/hw/vga/vt_vga.c
@@ -1219,6 +1219,7 @@ vga_acpi_disabled(void)
uint16_t flags;
int ignore;
+ ignore = 0;
TUNABLE_INT_FETCH("hw.vga.acpi_ignore_no_vga", &ignore);
if (ignore)