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();
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to