Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Cosmetic tweak previous; IMHO we don't need the...



details:   https://anonhg.NetBSD.org/src/rev/87da4a322394
branches:  trunk
changeset: 581762:87da4a322394
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Jun 05 01:15:29 2005 +0000

description:
Cosmetic tweak previous; IMHO we don't need the XXX comment in this
case, since I prefer to NULL initialize variables in this situation.

diffstat:

 lib/libc/gen/getpwent.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 357f44bfa16f -r 87da4a322394 lib/libc/gen/getpwent.c
--- a/lib/libc/gen/getpwent.c   Sat Jun 04 23:24:40 2005 +0000
+++ b/lib/libc/gen/getpwent.c   Sun Jun 05 01:15:29 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getpwent.c,v 1.69 2005/06/04 22:14:00 he Exp $ */
+/*     $NetBSD: getpwent.c,v 1.70 2005/06/05 01:15:29 lukem Exp $      */
 
 /*-
  * Copyright (c) 1997-2000, 2004-2005 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
 #if 0
 static char sccsid[] = "@(#)getpwent.c 8.2 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: getpwent.c,v 1.69 2005/06/04 22:14:00 he Exp $");
+__RCSID("$NetBSD: getpwent.c,v 1.70 2005/06/05 01:15:29 lukem Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -195,7 +195,7 @@
 {
        static int      warned;
 
-       const char      *dbfile = NULL; /* XXX -Wuninitialized in gcc */
+       const char      *dbfile = NULL;
 
        _DIAGASSERT(db != NULL);
        if (*db != NULL)                                        /* open *db */



Home | Main Index | Thread Index | Old Index