aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:48 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-15 18:53:48 +0000
commit2a99ce8eee478d888b154e7eecac183b5b64cd1f (patch)
tree581078f7f34a3515b9950482292b5d87c7f5f73e /target/linux/rb532
parent5c37e54b6a77e667df27756a459215e02ec830d7 (diff)
downloadupstream-2a99ce8eee478d888b154e7eecac183b5b64cd1f.tar.gz
upstream-2a99ce8eee478d888b154e7eecac183b5b64cd1f.tar.bz2
upstream-2a99ce8eee478d888b154e7eecac183b5b64cd1f.zip
[rb532] mark set but unused variables as such
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31296 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532')
-rw-r--r--target/linux/rb532/patches-2.6.32/003-unused_variables.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.32/003-unused_variables.patch b/target/linux/rb532/patches-2.6.32/003-unused_variables.patch
new file mode 100644
index 0000000000..589860feea
--- /dev/null
+++ b/target/linux/rb532/patches-2.6.32/003-unused_variables.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/rb532/prom.c
++++ b/arch/mips/rb532/prom.c
+@@ -73,7 +73,7 @@ void __init prom_setup_cmdline(void)
+ static char cmd_line[CL_SIZE] __initdata;
+ char *cp, *board;
+ int prom_argc;
+- char **prom_argv, **prom_envp;
++ char **prom_argv, **prom_envp __maybe_unused;
+ int i;
+
+ prom_argc = fw_arg0;