Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Make this compile in the presence of -We...
details: https://anonhg.NetBSD.org/src/rev/bcce5b564af0
branches: trunk
changeset: 540017:bcce5b564af0
user: agc <agc%NetBSD.org@localhost>
date: Sun Dec 01 11:02:11 2002 +0000
description:
Make this compile in the presence of -Werror
diffstat:
sys/compat/netbsd32/netbsd32_exec_elf32.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r b562e7704ead -r bcce5b564af0 sys/compat/netbsd32/netbsd32_exec_elf32.c
--- a/sys/compat/netbsd32/netbsd32_exec_elf32.c Sun Dec 01 09:17:27 2002 +0000
+++ b/sys/compat/netbsd32/netbsd32_exec_elf32.c Sun Dec 01 11:02:11 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_exec_elf32.c,v 1.14 2002/11/29 19:15:15 jdolecek Exp $ */
+/* $NetBSD: netbsd32_exec_elf32.c,v 1.15 2002/12/01 11:02:11 agc Exp $ */
/* from: NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp */
/*
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_exec_elf32.c,v 1.14 2002/11/29 19:15:15 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_exec_elf32.c,v 1.15 2002/12/01 11:02:11 agc Exp $");
#define ELFSIZE 32
@@ -78,8 +78,6 @@
void *eh, char *itp, vaddr_t *pos)
{
int error;
- size_t i;
- const char *bp;
if (itp[0]) {
/* Translate interpreter name if needed */
Home |
Main Index |
Thread Index |
Old Index