summaryrefslogtreecommitdiff
path: root/rtl-elf.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-09-07 15:29:14 +1000
committerChris Johns <chrisj@rtems.org>2013-09-07 15:29:14 +1000
commit3baa6851dea54ae4950a3f56ce73b0a7721e9ea6 (patch)
treefcb256075bad8cb4e794fdae858ce1bda1fbf376 /rtl-elf.c
parent186bc96fa2bd37582f5c8296ad0bad6df01683dc (diff)
Remove warnings.
Diffstat (limited to 'rtl-elf.c')
-rw-r--r--rtl-elf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rtl-elf.c b/rtl-elf.c
index 14e2460..a02466c 100644
--- a/rtl-elf.c
+++ b/rtl-elf.c
@@ -698,7 +698,6 @@ bool rtems_rtl_elf_load_details (rtems_rtl_obj_t* obj)
{
rtems_chain_control* sections = NULL;
rtems_chain_node* node = NULL;
- bool first = true;
size_t mask = 0;
struct link_map* l = NULL;
int sec_num = 0;
@@ -755,8 +754,6 @@ bool rtems_rtl_elf_load_details (rtems_rtl_obj_t* obj)
mask <= RTEMS_RTL_OBJ_SECT_BSS;
mask <<= 1)
{
- first = true;
-
sections = &obj->sections;
node = rtems_chain_first (sections);
while (!rtems_chain_is_tail (sections, node))