public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning
@ 2011-11-24 15:39 Matthias Fuchs
  2011-11-24 17:07 ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fuchs @ 2011-11-24 15:39 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
 board/esd/common/xilinx_jtag/micro.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/board/esd/common/xilinx_jtag/micro.c b/board/esd/common/xilinx_jtag/micro.c
index 9823e5e..cba33b8 100644
--- a/board/esd/common/xilinx_jtag/micro.c
+++ b/board/esd/common/xilinx_jtag/micro.c
@@ -1831,7 +1831,6 @@ int xsvfExecute(void)
 int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 	int     iErrorCode;
-	char*   pzXsvfFileName;
 	unsigned long duration;
 	unsigned long long startClock, endClock;
 
@@ -1847,7 +1846,6 @@ int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	}
 
 	iErrorCode          = XSVF_ERRORCODE( XSVF_ERROR_NONE );
-	pzXsvfFileName      = 0;
 	xsvf_iDebugLevel    = 0;
 
 	printf("XSVF Player v%s, Xilinx, Inc.\n", XSVF_VERSION);
-- 
1.6.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning
  2011-11-24 15:39 [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning Matthias Fuchs
@ 2011-11-24 17:07 ` Marek Vasut
  2011-11-24 17:30   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2011-11-24 17:07 UTC (permalink / raw)
  To: u-boot

> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> ---
>  board/esd/common/xilinx_jtag/micro.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/board/esd/common/xilinx_jtag/micro.c
> b/board/esd/common/xilinx_jtag/micro.c index 9823e5e..cba33b8 100644
> --- a/board/esd/common/xilinx_jtag/micro.c
> +++ b/board/esd/common/xilinx_jtag/micro.c
> @@ -1831,7 +1831,6 @@ int xsvfExecute(void)
>  int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>  {
>  	int     iErrorCode;
> -	char*   pzXsvfFileName;
>  	unsigned long duration;
>  	unsigned long long startClock, endClock;
> 
> @@ -1847,7 +1846,6 @@ int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc,
> char * const argv[]) }
> 
>  	iErrorCode          = XSVF_ERRORCODE( XSVF_ERROR_NONE );
> -	pzXsvfFileName      = 0;
>  	xsvf_iDebugLevel    = 0;
> 
>  	printf("XSVF Player v%s, Xilinx, Inc.\n", XSVF_VERSION);

Good catch, I'll pick this one.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning
  2011-11-24 17:07 ` Marek Vasut
@ 2011-11-24 17:30   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2011-11-24 17:30 UTC (permalink / raw)
  To: u-boot

> > Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> > ---
> > 
> >  board/esd/common/xilinx_jtag/micro.c |    2 --
> >  1 files changed, 0 insertions(+), 2 deletions(-)
> > 
> > diff --git a/board/esd/common/xilinx_jtag/micro.c
> > b/board/esd/common/xilinx_jtag/micro.c index 9823e5e..cba33b8 100644
> > --- a/board/esd/common/xilinx_jtag/micro.c
> > +++ b/board/esd/common/xilinx_jtag/micro.c
> > @@ -1831,7 +1831,6 @@ int xsvfExecute(void)
> > 
> >  int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> >  {
> >  
> >  	int     iErrorCode;
> > 
> > -	char*   pzXsvfFileName;
> > 
> >  	unsigned long duration;
> >  	unsigned long long startClock, endClock;
> > 
> > @@ -1847,7 +1846,6 @@ int do_cpld(cmd_tbl_t *cmdtp, int flag, int argc,
> > char * const argv[]) }
> > 
> >  	iErrorCode          = XSVF_ERRORCODE( XSVF_ERROR_NONE );
> > 
> > -	pzXsvfFileName      = 0;
> > 
> >  	xsvf_iDebugLevel    = 0;
> >  	
> >  	printf("XSVF Player v%s, Xilinx, Inc.\n", XSVF_VERSION);
> 
> Good catch, I'll pick this one.

Picked to:
u-boot-staging.git / marek.vasut at gmail.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-24 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 15:39 [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning Matthias Fuchs
2011-11-24 17:07 ` Marek Vasut
2011-11-24 17:30   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox