From: H. Peter Anvin Date: Thu, 21 May 2009 14:22:53 +0000 (-0700) Subject: chain.c32: remove clobber of drivename/partition X-Git-Tag: syslinux-3.81-pre9~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55092109e53ae43ceefb5f7c6314aff103931c9a;p=platform%2Fupstream%2Fsyslinux.git chain.c32: remove clobber of drivename/partition Remove a clobber of drivename and partition, after we have spent time computing what the should have been... Reported-by: Luciano Miguel Ferreira Rocha Signed-off-by: H. Peter Anvin --- diff --git a/com32/modules/chain.c b/com32/modules/chain.c index ead908f..7c7c9eb 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -651,9 +651,6 @@ int main(int argc, char *argv[]) regs.ip = regs.esp.l = 0x7c00; } - drivename = argv[1]; - partition = argv[2]; /* Possibly null */ - hd = 0; if ( !strncmp(drivename, "mbr", 3) ) { drive = find_disk(strtoul(drivename+4, NULL, 0));