Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/libexec/rmail Pull up revision 1.21 (requested by lukem i...
details: https://anonhg.NetBSD.org/src/rev/a5b39f0d4d05
branches: netbsd-3
changeset: 576201:a5b39f0d4d05
user: tron <tron%NetBSD.org@localhost>
date: Mon Jun 13 22:06:40 2005 +0000
description:
Pull up revision 1.21 (requested by lukem in ticket #399):
Shouldn't use += on a variable that we haven't initialized yet ...
Found with -Wuninitialized.
diffstat:
libexec/rmail/rmail.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 3ce9f917a7dc -r a5b39f0d4d05 libexec/rmail/rmail.c
--- a/libexec/rmail/rmail.c Mon Jun 13 22:05:04 2005 +0000
+++ b/libexec/rmail/rmail.c Mon Jun 13 22:06:40 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rmail.c,v 1.20 2004/11/05 22:00:40 dsl Exp $ */
+/* $NetBSD: rmail.c,v 1.20.2.1 2005/06/13 22:06:40 tron Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95";
#else
-__RCSID("$NetBSD: rmail.c,v 1.20 2004/11/05 22:00:40 dsl Exp $");
+__RCSID("$NetBSD: rmail.c,v 1.20.2.1 2005/06/13 22:06:40 tron Exp $");
#endif
#endif /* not lint */
@@ -99,6 +99,7 @@
addrp = NULL; /* XXX gcc */
fplen = fptlen = 0; /* XXX gcc */
+ nfptlen = 0;
debug = 0;
domain = "UUCP"; /* Default "domain". */
while ((ch = getopt(argc, argv, "D:T")) != -1)
Home |
Main Index |
Thread Index |
Old Index