svn commit: r313319 - stable/11/usr.bin/mail

Xin LI delphij at FreeBSD.org
Mon Feb 6 05:22:56 UTC 2017


Author: delphij
Date: Mon Feb  6 05:22:55 2017
New Revision: 313319
URL: https://svnweb.freebsd.org/changeset/base/313319

Log:
  MFC r312664: Always initialize 'c'.

Modified:
  stable/11/usr.bin/mail/send.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/mail/send.c
==============================================================================
--- stable/11/usr.bin/mail/send.c	Mon Feb  6 05:19:29 2017	(r313318)
+++ stable/11/usr.bin/mail/send.c	Mon Feb  6 05:22:55 2017	(r313319)
@@ -59,7 +59,7 @@ sendmessage(struct message *mp, FILE *ob
 	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


More information about the svn-src-all mailing list