Author: ian
Date: Sat Jul 14 16:33:11 2018
New Revision: 336283
URL: https://svnweb.freebsd.org/changeset/base/336283

Log:
  Eliminate an unused var warning-error; the var is used only when parsing
  linux-style boot args, so wrap it in the appropriate ifdef.

Modified:
  head/sys/arm/arm/machdep_boot.c

Modified: head/sys/arm/arm/machdep_boot.c
==============================================================================
--- head/sys/arm/arm/machdep_boot.c     Sat Jul 14 16:19:46 2018        
(r336282)
+++ head/sys/arm/arm/machdep_boot.c     Sat Jul 14 16:33:11 2018        
(r336283)
@@ -68,7 +68,9 @@ __FBSDID("$FreeBSD$");
 #define        debugf(fmt, args...)
 #endif
 
+#ifdef LINUX_BOOT_ABI
 static char static_kenv[4096];
+#endif
 
 extern int *end;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to