From 7c9543f3ae61a25cc70eceeebb3860d17cce0277 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Thu, 24 Nov 2011 16:39:15 +0100 Subject: board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning Signed-off-by: Matthias Fuchs --- board/esd/common/xilinx_jtag/micro.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board') 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); -- cgit v1.1 From bbb1fe462cfbd248656553c082135738d8646239 Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Thu, 24 Nov 2011 16:39:18 +0100 Subject: board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning Signed-off-by: Matthias Fuchs --- board/esd/dasa_sim/flash.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'board') diff --git a/board/esd/dasa_sim/flash.c b/board/esd/dasa_sim/flash.c index d6a7737..e2f2aac 100644 --- a/board/esd/dasa_sim/flash.c +++ b/board/esd/dasa_sim/flash.c @@ -44,7 +44,6 @@ unsigned long flash_init (void) { unsigned long size_b0; int i; - unsigned long base_b0; /* Init: no FLASHes known */ for (i=0; i