summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2017-02-06 05:22:55 +0000
committerdelphij <delphij@FreeBSD.org>2017-02-06 05:22:55 +0000
commit1881c868cb0152afd4964eb07e2c624390d6b53d (patch)
tree04e5bc95f2398438fbe8b81b963c1355a88d2587 /usr.bin/mail
parentc4ad38922dbb87199516cb3cb194411b4e7ae394 (diff)
downloadFreeBSD-src-1881c868cb0152afd4964eb07e2c624390d6b53d.zip
FreeBSD-src-1881c868cb0152afd4964eb07e2c624390d6b53d.tar.gz
MFC r312664: Always initialize 'c'.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/send.c b/usr.bin/mail/send.c
index 5be7405..ba72c2f 100644
--- a/usr.bin/mail/send.c
+++ b/usr.bin/mail/send.c
@@ -59,7 +59,7 @@ sendmessage(struct message *mp, FILE *obuf, struct ignoretab *doign,
FILE *ibuf;
char *cp, *cp2, line[LINESIZE];
int ishead, infld, ignoring, dostat, firstline;
- int c, length, prefixlen;
+ int c = 0, length, prefixlen;
/*
* Compute the prefix string, without trailing whitespace
OpenPOWER on IntegriCloud