svn commit: r336283 - head/sys/arm/arm

Ian Lepore ian at FreeBSD.org
Sat Jul 14 16:33:13 UTC 2018


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;
 


More information about the svn-src-head mailing list