ndiscvt(8): Unbreak build.
authorSascha Wildner <saw@online.de>
Wed, 17 Oct 2012 20:51:15 +0000 (22:51 +0200)
committerSascha Wildner <saw@online.de>
Wed, 17 Oct 2012 20:51:15 +0000 (22:51 +0200)
usr.sbin/ndiscvt/ndiscvt.c

index 3f59a12..5249a30 100644 (file)
@@ -107,7 +107,6 @@ insert_padding(void **imgbase, int *imglen)
                return(ENOMEM);
 
        bcopy(*imgbase, newimg, *imglen);
-       curlen = *imglen;
 
        if (pe_get_optional_header((vm_offset_t)newimg, &opt_hdr))
                return(0);