Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1da90ff34e87c1765f3ce2a21f44e5bdc92e2689

>---------------------------------------------------------------

commit 1da90ff34e87c1765f3ce2a21f44e5bdc92e2689
Author: Ian Lynagh <[email protected]>
Date:   Fri Jun 24 21:58:24 2011 +0100

    Remove unused variable

>---------------------------------------------------------------

 rts/Linker.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/rts/Linker.c b/rts/Linker.c
index 28ba9a0..b60898e 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -3941,7 +3941,7 @@ static int getSectionKind_ELF( Elf_Shdr *hdr, int *is_bss 
)
 static int
 ocGetNames_ELF ( ObjectCode* oc )
 {
-   int i, j, k, nent;
+   int i, j, nent;
    Elf_Sym* stab;
 
    char*     ehdrC    = (char*)(oc->image);
@@ -3951,7 +3951,6 @@ ocGetNames_ELF ( ObjectCode* oc )
 
    ASSERT(symhash != NULL);
 
-   k = 0;
    for (i = 0; i < ehdr->e_shnum; i++) {
       /* Figure out what kind of section it is.  Logic derived from
          Figure 1.14 ("Special Sections") of the ELF document



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to