Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2018 10:52:41 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335631 - head/sys/dev/vt/hw/vga
Message-ID:  <201806251052.w5PAqf5r007300@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806251052.w5PAqf5r007300>