diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-11-18 06:26:16 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-11-18 06:26:16 +0000 |
commit | 40d5eb1e7334f3f17f1bc7192480170bd416fac9 (patch) | |
tree | db46b33f1a56b5cbb6860e1063b835f9371c29f1 | |
parent | db9713dbdab2e5ce91f8694a9b55c4907ee9fb27 (diff) |
path_index isn't used for anything, so comment it out. idea millert@
-rw-r--r-- | sys/compat/ibcs2/ibcs2_exec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/ibcs2/ibcs2_exec.c b/sys/compat/ibcs2/ibcs2_exec.c index 66f17b47051..e27b4b52359 100644 --- a/sys/compat/ibcs2/ibcs2_exec.c +++ b/sys/compat/ibcs2/ibcs2_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_exec.c,v 1.16 2003/11/17 16:18:28 tedu Exp $ */ +/* $OpenBSD: ibcs2_exec.c,v 1.17 2003/11/18 06:26:15 tedu Exp $ */ /* $NetBSD: ibcs2_exec.c,v 1.12 1996/10/12 02:13:52 thorpej Exp $ */ /* @@ -425,7 +425,7 @@ n */ size_t resid; struct coff_slhdr *slhdr; char buf[128], *bufp; /* FIXME */ - unsigned int len = sh.s_size, path_index, entry_len; + unsigned int len = sh.s_size, entry_len; /* DPRINTF(("COFF shlib size %d offset %d\n", sh.s_size, sh.s_scnptr)); */ @@ -444,7 +444,9 @@ n */ bufp = buf; while (len) { slhdr = (struct coff_slhdr *)bufp; +#ifdef notyet path_index = slhdr->path_index * sizeof(long); +#endif entry_len = slhdr->entry_len * sizeof(long); /* DPRINTF(("path_index: %d entry_len: %d name: %s\n", |