[Zrouter-src-freebsd] ZRouter.org: push to FreeBSD HEAD tree
zrouter-src-freebsd at zrouter.org
zrouter-src-freebsd at zrouter.org
Sat Jan 21 00:21:18 UTC 2012
details: http://zrouter.org/hg/FreeBSD/head//rev/7cd2c83e9de7
changeset: 285:7cd2c83e9de7
user: Eric Krausser <zrouter at krausser-edv.de>
date: Sat Jan 21 01:20:20 2012 +0100
description:
Fix unused variable 'envp' when build with AR71XX_ENV_UBOOT\n\nApproved by: ray
diffstat:
head/sys/mips/atheros/ar71xx_machdep.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r e0e249ab6bcd -r 7cd2c83e9de7 head/sys/mips/atheros/ar71xx_machdep.c
--- a/head/sys/mips/atheros/ar71xx_machdep.c Mon Jan 16 23:28:05 2012 +0200
+++ b/head/sys/mips/atheros/ar71xx_machdep.c Sat Jan 21 01:20:20 2012 +0100
@@ -170,7 +170,10 @@
{
uint64_t platform_counter_freq;
int argc = 0, i;
- char **argv = NULL, **envp = NULL;
+ char **argv = NULL;
+#ifndef AR71XX_ENV_UBOOT
+ char **envp = NULL;
+#endif
vm_offset_t kernend;
/*
More information about the Zrouter-src-freebsd
mailing list