From d3d45bfc5cbb33990994ce5d6112278184a3265d Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 15 Apr 2012 18:53:48 +0000 Subject: [PATCH] [rb532] mark set but unused variables as such SVN-Revision: 31296 --- .../rb532/patches-2.6.32/003-unused_variables.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/rb532/patches-2.6.32/003-unused_variables.patch 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; -- 2.30.2