Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/kern Pull up 1.4: fix non-egcs uninit variable warning



details:   https://anonhg.NetBSD.org/src/rev/7214e242cf13
branches:  netbsd-1-4
changeset: 468074:7214e242cf13
user:      sommerfe <sommerfe%NetBSD.org@localhost>
date:      Mon Apr 05 19:11:42 1999 +0000

description:
Pull up 1.4: fix non-egcs uninit variable warning

diffstat:

 sys/kern/vfs_getcwd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1d51ad6da4cd -r 7214e242cf13 sys/kern/vfs_getcwd.c
--- a/sys/kern/vfs_getcwd.c     Mon Apr 05 17:36:38 1999 +0000
+++ b/sys/kern/vfs_getcwd.c     Mon Apr 05 19:11:42 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_getcwd.c,v 1.3 1999/03/25 04:45:57 sommerfe Exp $ */
+/* $NetBSD: vfs_getcwd.c,v 1.3.2.1 1999/04/05 19:11:42 sommerfe Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -316,7 +316,7 @@
 {
        struct filedesc *fdp = p->p_fd;
        struct vnode *pvp = NULL;
-       char *bp;
+       char *bp = NULL;
        int error;
        
        if (rvp == NULL) {



Home | Main Index | Thread Index | Old Index