Module Name:    src
Committed By:   wiz
Date:           Sun Jun 17 20:48:27 UTC 2012

Modified Files:
        src/bin/sh: parser.c

Log Message:
Initialize two variables for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/bin/sh/parser.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/parser.c
diff -u src/bin/sh/parser.c:1.82 src/bin/sh/parser.c:1.83
--- src/bin/sh/parser.c:1.82	Wed Mar 28 20:11:25 2012
+++ src/bin/sh/parser.c	Sun Jun 17 20:48:27 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: parser.c,v 1.82 2012/03/28 20:11:25 christos Exp $	*/
+/*	$NetBSD: parser.c,v 1.83 2012/06/17 20:48:27 wiz Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)parser.c	8.7 (Berkeley) 5/16/95";
 #else
-__RCSID("$NetBSD: parser.c,v 1.82 2012/03/28 20:11:25 christos Exp $");
+__RCSID("$NetBSD: parser.c,v 1.83 2012/06/17 20:48:27 wiz Exp $");
 #endif
 #endif /* not lint */
 
@@ -1362,9 +1362,9 @@ parsebackq: {
 	struct nodelist **nlpp;
 	int savepbq;
 	union node *n;
-	char *volatile str;
+	char *volatile str = NULL;
 	struct jmploc jmploc;
-	struct jmploc *volatile savehandler;
+	struct jmploc *volatile savehandler = NULL;
 	int savelen;
 	int saveprompt;
 

Reply via email to