Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/kern Pull up following revision(s) (requested by mrg ...



details:   https://anonhg.NetBSD.org/src/rev/b99e8e6fb42c
branches:  netbsd-8
changeset: 369954:b99e8e6fb42c
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Sep 10 08:21:49 2022 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #1761):

        sys/kern/kern_core.c: revision 1.37

avoid a GCC warning (happens on -current, -9, and -8.)

diffstat:

 sys/kern/kern_core.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fee02fc8301b -r b99e8e6fb42c sys/kern/kern_core.c
--- a/sys/kern/kern_core.c      Fri Sep 09 18:25:13 2022 +0000
+++ b/sys/kern/kern_core.c      Sat Sep 10 08:21:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_core.c,v 1.24.10.1 2022/09/09 18:24:20 martin Exp $       */
+/*     $NetBSD: kern_core.c,v 1.24.10.2 2022/09/10 08:21:49 martin Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_core.c,v 1.24.10.1 2022/09/09 18:24:20 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_core.c,v 1.24.10.2 2022/09/10 08:21:49 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/vnode.h>
@@ -102,7 +102,7 @@
        struct coredump_iostate io;
        struct plimit           *lim;
        int                     error, error1;
-       char                    *name, *lastslash;
+       char                    *name, *lastslash = NULL /* XXXgcc */;
 
        name = PNBUF_GET();
 



Home | Main Index | Thread Index | Old Index