Date: Sat, 14 Jul 2018 16:33:12 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336283 - head/sys/arm/arm Message-ID: <201807141633.w6EGXCt7026219@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807141633.w6EGXCt7026219>