diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-21 07:22:53 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-21 07:22:53 -0700 |
commit | 55092109e53ae43ceefb5f7c6314aff103931c9a (patch) | |
tree | 5855f445ca220778e4113cd2f623ba71ba236917 | |
parent | aee4e8fa73571eaca80ad43aa007523cde5d4567 (diff) | |
download | syslinux-55092109e53ae43ceefb5f7c6314aff103931c9a.tar.gz syslinux-55092109e53ae43ceefb5f7c6314aff103931c9a.tar.xz syslinux-55092109e53ae43ceefb5f7c6314aff103931c9a.zip |
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 <strange@nsk.no-ip.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | com32/modules/chain.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/modules/chain.c b/com32/modules/chain.c index ead908f2..7c7c9eb6 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)); |