From 93e537b0e746f69e58b093884a694e943b9060b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Rivi=C3=A8re?= Date: Wed, 7 Nov 2012 22:20:13 +0000 Subject: [PATCH] Removed useless jmp variable. --- sources/sysinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/sysinit.c b/sources/sysinit.c index b5edd8f..30b5949 100644 --- a/sources/sysinit.c +++ b/sources/sysinit.c @@ -767,7 +767,6 @@ void initialize_hardware(void) { uint32_t *src; /* src address to read from flash */ uint32_t *end; /* end address to read from flash */ uint32_t *dst; /* destination address to copy to */ - uint32_t *jmp; /* address of BaS() routine to jmp at after copy */ /* Test for FireTOS switch: DIP switch #5 up */ if (!(DIP_SWITCH & (1 << 6))) { @@ -808,7 +807,7 @@ void initialize_hardware(void) { /* copy the BaS code contained in flash to its final location */ src = (uint32_t *)BAS_LMA; end = (uint32_t *)(BAS_LMA + BAS_SIZE); - dst = jmp = (uint32_t *)BAS_IN_RAM; + dst = (uint32_t *)BAS_IN_RAM; /* The linker script will ensure that the Bas size * is a multiple of the following.