Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/crunch/crunchgen Fix uninitialized structure element.



details:   https://anonhg.NetBSD.org/src/rev/591d6f8a844e
branches:  trunk
changeset: 487693:591d6f8a844e
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sun Jun 11 14:31:11 2000 +0000

description:
Fix uninitialized structure element.

diffstat:

 usr.bin/crunch/crunchgen/crunchgen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 41815614d991 -r 591d6f8a844e usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c      Sun Jun 11 14:20:45 2000 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c      Sun Jun 11 14:31:11 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crunchgen.c,v 1.15 2000/04/14 06:11:07 simonb Exp $    */
+/*     $NetBSD: crunchgen.c,v 1.16 2000/06/11 14:31:11 mycroft Exp $   */
 /*
  * Copyright (c) 1994 University of Maryland
  * All Rights Reserved.
@@ -33,7 +33,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: crunchgen.c,v 1.15 2000/04/14 06:11:07 simonb Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.16 2000/06/11 14:31:11 mycroft Exp $");
 #endif
 
 #include <stdlib.h>
@@ -348,7 +348,7 @@
     else p1->next = p2;
 
     p2->ident = p2->srcdir = p2->objdir = NULL;
-    p2->links = p2->objs = NULL;
+    p2->objs = p2->objpaths = p2->links = NULL;
     p2->goterror = 0;
 }
 



Home | Main Index | Thread Index | Old Index