From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 24 Nov 2011 18:07:28 +0100 Subject: [U-Boot] [PATCH] board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning In-Reply-To: <4ECE6523.9000805@esd.eu> References: <4ECE6523.9000805@esd.eu> Message-ID: <201111241807.29102.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Signed-off-by: Matthias Fuchs > --- > 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.