From 55092109e53ae43ceefb5f7c6314aff103931c9a Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 21 May 2009 07:22:53 -0700 Subject: [PATCH] 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 --- com32/modules/chain.c | 3 --- 1 file changed, 3 deletions(-) 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)); -- 2.7.4