[U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning

Marek Vasut marek.vasut at gmail.com
Thu Nov 24 18:07:28 CET 2011


> Signed-off-by: Matthias Fuchs <matthias.fuchs at 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.


More information about the U-Boot mailing list