Subject: Removing statement that has no effects
To: None <tech-kern@netbsd.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-kern
Date: 10/03/2002 16:22:50
Hi,
Does anyone know why the following statement (marked '-') is there?
Index: exec_elf32.c
===================================================================
RCS file: /cvsroot/syssrc/sys/kern/exec_elf32.c,v
retrieving revision 1.74
diff -u -r1.74 exec_elf32.c
--- exec_elf32.c 2002/09/27 15:37:42 1.74
+++ exec_elf32.c 2002/10/03 07:07:05
@@ -611,7 +611,6 @@
FREE((char *)ap, M_TEMP);
goto bad;
}
- pos += phsize;
ap->arg_phaddr = phdr;
ap->arg_phentsize = eh->e_phentsize;
pos is never used after that line.
Jun-Young
--
Bang Jun-Young <junyoung@mogua.com>