From c76b26e52701907cc538fb5773e8d56d204c6396 Mon Sep 17 00:00:00 2001 From: lukem Date: Wed, 1 Jun 2005 15:55:31 +0000 Subject: [PATCH] Shouldn't use += on a variable that we haven't initialized yet ... Found with -Wuninitialized. --- libexec/rmail/rmail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libexec/rmail/rmail.c b/libexec/rmail/rmail.c index 7bd69e95084a..24bbf98b7c34 100644 --- a/libexec/rmail/rmail.c +++ b/libexec/rmail/rmail.c @@ -1,4 +1,4 @@ -/* $NetBSD: rmail.c,v 1.20 2004/11/05 22:00:40 dsl Exp $ */ +/* $NetBSD: rmail.c,v 1.21 2005/06/01 15:55:31 lukem Exp $ */ /* * Copyright (c) 1988, 1993 @@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #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.21 2005/06/01 15:55:31 lukem Exp $"); #endif #endif /* not lint */ @@ -99,6 +99,7 @@ main(argc, argv) 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)