Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix compile warning (not seen with egcs, but...)
details: https://anonhg.NetBSD.org/src/rev/b9b0f97f2892
branches: trunk
changeset: 471577:b9b0f97f2892
user: sommerfe <sommerfe%NetBSD.org@localhost>
date: Mon Apr 05 03:33:31 1999 +0000
description:
Fix compile warning (not seen with egcs, but...)
diffstat:
sys/kern/vfs_getcwd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6ab36a6f7c5d -r b9b0f97f2892 sys/kern/vfs_getcwd.c
--- a/sys/kern/vfs_getcwd.c Mon Apr 05 03:29:46 1999 +0000
+++ b/sys/kern/vfs_getcwd.c Mon Apr 05 03:33:31 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.4 1999/04/05 03:33:31 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