mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
GCC4.6: Squash error in cpc45/pd67290.c
pd67290.c: In function 'cirrus_set_opts': pd67290.c:282: error: 'buf' undeclared (first use in this function) pd67290.c:282: error: (Each undeclared identifier is reported only once pd67290.c:282: error: for each function it appears in.) Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
2e59cb63ef
commit
17f5f1e23f
1 changed files with 1 additions and 5 deletions
|
@ -225,11 +225,7 @@ static u_int cirrus_set_opts (socket_info_t * s)
|
||||||
{
|
{
|
||||||
cirrus_state_t *p = &s->c_state;
|
cirrus_state_t *p = &s->c_state;
|
||||||
u_int mask = 0xffff;
|
u_int mask = 0xffff;
|
||||||
#if DEBUG
|
char buf[200] = {0};
|
||||||
char buf[200];
|
|
||||||
|
|
||||||
memset (buf, 0, 200);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (has_ring == -1)
|
if (has_ring == -1)
|
||||||
has_ring = 1;
|
has_ring = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue