Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/ultrix Shut 'gcc -Wuninitialized' up.



details:   https://anonhg.NetBSD.org/src/rev/cd47bfd6f804
branches:  trunk
changeset: 472204:cd47bfd6f804
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Apr 25 02:42:01 1999 +0000

description:
Shut 'gcc -Wuninitialized' up.

diffstat:

 sys/compat/ultrix/ultrix_fs.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ad93b14d9fdd -r cd47bfd6f804 sys/compat/ultrix/ultrix_fs.c
--- a/sys/compat/ultrix/ultrix_fs.c     Sun Apr 25 01:20:02 1999 +0000
+++ b/sys/compat/ultrix/ultrix_fs.c     Sun Apr 25 02:42:01 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_fs.c,v 1.16 1998/08/09 20:37:56 perry Exp $     */
+/*     $NetBSD: ultrix_fs.c,v 1.17 1999/04/25 02:42:01 simonb Exp $    */
 
 /*
  * Copyright (c) 1995, 1997 Jonathan Stone
@@ -218,6 +218,7 @@
        long count, maxcount;
        int error = 0;
 
+       nmp = NULL;     /* XXX keep gcc quiet */
        path = NULL;
        error = 0;
        maxcount = SCARG(uap, bufsize) / sizeof(struct ultrix_fs_data);



Home | Main Index | Thread Index | Old Index