Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 20:34:43 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r344383 - stable/11/sys/arm/arm
Message-ID:  <201902202034.x1KKYhnI075236@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Feb 20 20:34:43 2019
New Revision: 344383
URL: https://svnweb.freebsd.org/changeset/base/344383

Log:
  MFC r336283: Fix build after r344378
  
  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:
  stable/11/sys/arm/arm/machdep_boot.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm/arm/machdep_boot.c
==============================================================================
--- stable/11/sys/arm/arm/machdep_boot.c	Wed Feb 20 20:28:48 2019	(r344382)
+++ stable/11/sys/arm/arm/machdep_boot.c	Wed Feb 20 20:34:43 2019	(r344383)
@@ -68,7 +68,9 @@ __FBSDID("$FreeBSD$");
 #define	debugf(fmt, args...)
 #endif
 
+#ifdef LINUX_BOOT_ABI
 static char static_kenv[4096];
+#endif
 
 extern int *end;
 



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