Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Shutup gcc - it eroneously thinks *...
details: https://anonhg.NetBSD.org/src/rev/28c740e1eabc
branches: trunk
changeset: 583008:28c740e1eabc
user: martin <martin%NetBSD.org@localhost>
date: Fri Jul 15 09:00:15 2005 +0000
description:
Shutup gcc - it eroneously thinks *ap might be used uninitialized.
diffstat:
sys/arch/sparc64/sparc64/syscall.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ff15129aabbc -r 28c740e1eabc sys/arch/sparc64/sparc64/syscall.c
--- a/sys/arch/sparc64/sparc64/syscall.c Fri Jul 15 07:56:22 2005 +0000
+++ b/sys/arch/sparc64/sparc64/syscall.c Fri Jul 15 09:00:15 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.6 2005/07/14 12:35:08 christos Exp $ */
+/* $NetBSD: syscall.c,v 1.7 2005/07/15 09:00:15 martin Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.6 2005/07/14 12:35:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.7 2005/07/15 09:00:15 martin Exp $");
#define NEW_FPSTATE
@@ -410,7 +410,7 @@
{
const struct sysent *callp;
struct lwp *l = curlwp;
- union args args, *ap;
+ union args args, *ap = NULL; /* XXX gcc */
#ifdef __arch64__
union args args64;
int i;
Home |
Main Index |
Thread Index |
Old Index