Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ibcs2 Remove a variable
details: https://anonhg.NetBSD.org/src/rev/c9f8b68c1184
branches: trunk
changeset: 790860:c9f8b68c1184
user: martin <martin%NetBSD.org@localhost>
date: Fri Oct 25 14:46:35 2013 +0000
description:
Remove a variable
diffstat:
sys/compat/ibcs2/ibcs2_exec_coff.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e5c9057eb4f3 -r c9f8b68c1184 sys/compat/ibcs2/ibcs2_exec_coff.c
--- a/sys/compat/ibcs2/ibcs2_exec_coff.c Fri Oct 25 14:44:25 2013 +0000
+++ b/sys/compat/ibcs2/ibcs2_exec_coff.c Fri Oct 25 14:46:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibcs2_exec_coff.c,v 1.25 2010/07/22 03:19:02 christos Exp $ */
+/* $NetBSD: ibcs2_exec_coff.c,v 1.26 2013/10/25 14:46:35 martin Exp $ */
/*
* Copyright (c) 1994, 1995, 1998 Scott Bartram
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec_coff.c,v 1.25 2010/07/22 03:19:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ibcs2_exec_coff.c,v 1.26 2013/10/25 14:46:35 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -431,7 +431,7 @@
size_t resid;
struct coff_slhdr *slhdr;
char *tbuf, *bufp;
- size_t len = sh.s_size, path_index, entry_len;
+ size_t len = sh.s_size, /* path_index, */ entry_len;
if (len > 64 * 1024)
return ENOEXEC;
@@ -462,7 +462,7 @@
return ENOEXEC;
}
- path_index = slhdr->path_index * sizeof(long);
+ /* path_index = slhdr->path_index * sizeof(long); */
entry_len = slhdr->entry_len * sizeof(long);
if (entry_len > len) {
Home |
Main Index |
Thread Index |
Old Index