]> Cypherpunks repositories - gostls13.git/commitdiff
6l: fix another "set and not used".
authorRob Pike <r@golang.org>
Fri, 15 Apr 2011 15:31:32 +0000 (08:31 -0700)
committerRob Pike <r@golang.org>
Fri, 15 Apr 2011 15:31:32 +0000 (08:31 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/4433042

src/cmd/6l/asm.c

index 03bc411f82e033c590f06e4e1c7ae0ebada37b32..bc76ce3442eda9bbf84e6087a07d17512515afb9 100644 (file)
@@ -681,7 +681,7 @@ asmb(void)
 {
        int32 magic;
        int a, dynsym;
-       vlong vl, startva, fo, symo, elfsymo, elfstro, elfsymsize, machlink;
+       vlong vl, startva, symo, elfsymo, elfstro, elfsymsize, machlink;
        ElfEhdr *eh;
        ElfPhdr *ph, *pph;
        ElfShdr *sh;
@@ -846,7 +846,6 @@ asmb(void)
                /* elf amd-64 */
 
                eh = getElfEhdr();
-               fo = HEADR;
                startva = INITTEXT - HEADR;
 
                /* This null SHdr must appear before all others */