]> git.sur5r.net Git - u-boot/commitdiff
board/esd/common/xilinx_jtag_micro.c: Fix GCC 4.6 warning
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Thu, 24 Nov 2011 15:39:15 +0000 (16:39 +0100)
committerMarek Vasut <marek.vasut@gmail.com>
Fri, 2 Dec 2011 09:56:21 +0000 (10:56 +0100)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
board/esd/common/xilinx_jtag/micro.c

index 9823e5e8a73aeaf7233c9f55b0c6d245438c4b2d..cba33b8123ecf170adb577f87ddb44548bf3cf74 100644 (file)
@@ -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);