Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern gcc does not detect initialization correctly on all...
details: https://anonhg.NetBSD.org/src/rev/15747637dd9e
branches: trunk
changeset: 810691:15747637dd9e
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 12 18:30:46 2015 +0000
description:
gcc does not detect initialization correctly on all platforms (hpcsh)
diffstat:
sys/kern/kern_exec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 26800acad082 -r 15747637dd9e sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Sat Sep 12 17:04:57 2015 +0000
+++ b/sys/kern/kern_exec.c Sat Sep 12 18:30:46 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.415 2015/09/12 17:04:57 christos Exp $ */
+/* $NetBSD: kern_exec.c,v 1.416 2015/09/12 18:30:46 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.415 2015/09/12 17:04:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.416 2015/09/12 18:30:46 christos Exp $");
#include "opt_exec.h"
#include "opt_execfmt.h"
@@ -653,7 +653,7 @@
struct proc *p;
char *dp;
u_int modgen;
- size_t offs;
+ size_t offs = 0; // XXX: GCC
KASSERT(data != NULL);
Home |
Main Index |
Thread Index |
Old Index