Make this compile in the presence of -Werror
This commit is contained in:
parent
90a3bd2d8c
commit
35a5ff86d4
@ -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 @@ ELFNAME2(netbsd32,probe_noteless)(struct proc *p, struct exec_package *epp,
|
||||
void *eh, char *itp, vaddr_t *pos)
|
||||
{
|
||||
int error;
|
||||
size_t i;
|
||||
const char *bp;
|
||||
|
||||
if (itp[0]) {
|
||||
/* Translate interpreter name if needed */
|
||||
|
Loading…
Reference in New Issue
Block a user