Warkaround warning for uninitalized variables
This commit is contained in:
parent
ee7a6d2747
commit
352595e88d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: irix_exec_elf32.c,v 1.9 2003/10/31 14:04:04 drochner Exp $ */
|
||||
/* $NetBSD: irix_exec_elf32.c,v 1.10 2003/11/08 21:33:34 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_exec_elf32.c,v 1.9 2003/10/31 14:04:04 drochner Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_exec_elf32.c,v 1.10 2003/11/08 21:33:34 manu Exp $");
|
||||
|
||||
#ifndef ELFSIZE
|
||||
#define ELFSIZE 32 /* XXX should die */
|
||||
@ -74,7 +74,7 @@ ELFNAME2(irix,probe_o32)(p, epp, eh, itp, pos)
|
||||
char *itp;
|
||||
vaddr_t *pos;
|
||||
{
|
||||
int error;
|
||||
int error = 0;
|
||||
|
||||
#ifdef DEBUG_IRIX
|
||||
printf("irix_probe_o32()\n");
|
||||
@ -112,7 +112,7 @@ ELFNAME2(irix,probe_n32)(p, epp, eh, itp, pos)
|
||||
char *itp;
|
||||
vaddr_t *pos;
|
||||
{
|
||||
int error;
|
||||
int error = 0;
|
||||
|
||||
#ifdef DEBUG_IRIX
|
||||
printf("irix_probe_n32()\n");
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: irix_prctl.c,v 1.21 2003/01/28 23:47:42 manu Exp $ */
|
||||
/* $NetBSD: irix_prctl.c,v 1.22 2003/11/08 21:33:35 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001-2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_prctl.c,v 1.21 2003/01/28 23:47:42 manu Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_prctl.c,v 1.22 2003/11/08 21:33:35 manu Exp $");
|
||||
|
||||
#include <sys/errno.h>
|
||||
#include <sys/types.h>
|
||||
@ -284,7 +284,7 @@ irix_sproc(entry, inh, arg, sp, len, pid, l, retval)
|
||||
struct irix_sproc_child_args *isc;
|
||||
struct irix_emuldata *ied;
|
||||
struct irix_emuldata *iedp;
|
||||
struct irix_share_group *isg;
|
||||
struct irix_share_group *isg = NULL;
|
||||
segsz_t stacksize;
|
||||
|
||||
#ifdef DEBUG_IRIX
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: irix_systeminfo.c,v 1.7 2003/01/22 12:58:24 rafal Exp $ */
|
||||
/* $NetBSD: irix_systeminfo.c,v 1.8 2003/11/08 21:33:35 manu Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_systeminfo.c,v 1.7 2003/01/22 12:58:24 rafal Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irix_systeminfo.c,v 1.8 2003/11/08 21:33:35 manu Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/signal.h>
|
||||
@ -90,8 +90,8 @@ irix_sys_systeminfo(l, v, retval)
|
||||
struct proc *p = l->l_proc;
|
||||
const char *str = NULL;
|
||||
char strbuf[BUF_SIZE + 1];
|
||||
int error;
|
||||
size_t len;
|
||||
int error = 0;
|
||||
size_t len = 0;
|
||||
char buf[256];
|
||||
caddr_t sg = stackgap_init(p, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user