From: Matthias Fuchs Date: Thu, 24 Nov 2011 15:39:15 +0000 (+0100) Subject: board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7c9543f3ae61a25cc70eceeebb3860d17cce0277;p=project%2Fbcm63xx%2Fu-boot.git board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning Signed-off-by: Matthias Fuchs --- diff --git a/board/esd/common/xilinx_jtag/micro.c b/board/esd/common/xilinx_jtag/micro.c index 9823e5e8a7..cba33b8123 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);