mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 17:40:16 +02:00
[rb532] mark set but unused variables as such
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31296 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2b011556a5
commit
6a6938a637
11
target/linux/rb532/patches-2.6.32/003-unused_variables.patch
Normal file
11
target/linux/rb532/patches-2.6.32/003-unused_variables.patch
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user