svn commit: r335631 - head/sys/dev/vt/hw/vga

Konstantin Belousov kib at FreeBSD.org
Mon Jun 25 10:52:42 UTC 2018


Author: kib
Date: Mon Jun 25 10:52:41 2018
New Revision: 335631
URL: https://svnweb.freebsd.org/changeset/base/335631

Log:
  Always initialize the ignore local variable.
  
  Reviewed by:	royger
  Sponsored by:	The FreeBSD Foundation
  Differential revision:	https://reviews.freebsd.org/D16004

Modified:
  head/sys/dev/vt/hw/vga/vt_vga.c

Modified: head/sys/dev/vt/hw/vga/vt_vga.c
==============================================================================
--- head/sys/dev/vt/hw/vga/vt_vga.c	Mon Jun 25 10:37:21 2018	(r335630)
+++ head/sys/dev/vt/hw/vga/vt_vga.c	Mon Jun 25 10:52:41 2018	(r335631)
@@ -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)


More information about the svn-src-head mailing list