svn commit: r276530 - head/sys/x86/xen
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jan 2 08:42:46 UTC 2015
Author: hselasky
Date: Fri Jan 2 08:42:44 2015
New Revision: 276530
URL: https://svnweb.freebsd.org/changeset/base/276530
Log:
Fix warning about possible use of uninitialized variable.
Modified:
head/sys/x86/xen/xen_nexus.c
Modified: head/sys/x86/xen/xen_nexus.c
==============================================================================
--- head/sys/x86/xen/xen_nexus.c Fri Jan 2 08:38:23 2015 (r276529)
+++ head/sys/x86/xen/xen_nexus.c Fri Jan 2 08:42:44 2015 (r276530)
@@ -67,7 +67,7 @@ nexus_xen_attach(device_t dev)
{
int error;
#ifndef XEN
- device_t acpi_dev;
+ device_t acpi_dev = NULL;
#endif
nexus_init_resources();
More information about the svn-src-head
mailing list