Module Name: src
Committed By: he
Date: Sun Apr 12 22:47:39 UTC 2009
Modified Files:
src/usr.bin/mail: send.c
Log Message:
Work around a problem with gcc -Wuninitialized seen for our sh3 targets.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/mail/send.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mail/send.c
diff -u src/usr.bin/mail/send.c:1.34 src/usr.bin/mail/send.c:1.35
--- src/usr.bin/mail/send.c:1.34 Fri Apr 10 13:08:25 2009
+++ src/usr.bin/mail/send.c Sun Apr 12 22:47:39 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: send.c,v 1.34 2009/04/10 13:08:25 christos Exp $ */
+/* $NetBSD: send.c,v 1.35 2009/04/12 22:47:39 he Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)send.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: send.c,v 1.34 2009/04/10 13:08:25 christos Exp $");
+__RCSID("$NetBSD: send.c,v 1.35 2009/04/12 22:47:39 he Exp $");
#endif
#endif /* not lint */
@@ -655,7 +655,7 @@
ncopy(struct name *np)
{
struct name *rv;
- struct name *lp;
+ struct name *lp = NULL; /* XXX gcc -Wuninitialized sh3 */
struct name *tp;
rv = NULL;