Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-08-23 19:36:10 +0000
committereutarass2011-08-23 19:36:10 +0000
commit03b500d96854ec6d8f8a00fed2a08976683a2e95 (patch)
tree0a17d6f339ecad769093cc9c61d2b992aac65b48
parent36f30284607539e3fd4bb84fd74d7352125bec77 (diff)
downloadorg.eclipse.tcf.agent-03b500d96854ec6d8f8a00fed2a08976683a2e95.tar.gz
org.eclipse.tcf.agent-03b500d96854ec6d8f8a00fed2a08976683a2e95.tar.xz
org.eclipse.tcf.agent-03b500d96854ec6d8f8a00fed2a08976683a2e95.zip
TCF Agent: redundant code is removed.
-rw-r--r--services/tcf_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/tcf_elf.c b/services/tcf_elf.c
index 5b2e2af8..68cf9c53 100644
--- a/services/tcf_elf.c
+++ b/services/tcf_elf.c
@@ -630,7 +630,7 @@ int elf_load(ELF_Section * s) {
if (s->size == 0) return 0;
s->relocate = 0;
- if (s->type != SHT_REL && s->type != SHT_REL && s->type != SHT_RELA) {
+ if (s->type != SHT_REL && s->type != SHT_RELA) {
unsigned i;
for (i = 1; i < s->file->section_cnt; i++) {
ELF_Section * r = s->file->sections + i;

Back to the top