svn commit: r313320 - stable/10/usr.bin/mail

Xin LI delphij at FreeBSD.org
Mon Feb 6 05:24:19 UTC 2017


Author: delphij
Date: Mon Feb  6 05:24:17 2017
New Revision: 313320
URL: https://svnweb.freebsd.org/changeset/base/313320

Log:
  MFC r312664: Always initialize 'c'.

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

Modified: stable/10/usr.bin/mail/send.c
==============================================================================
--- stable/10/usr.bin/mail/send.c	Mon Feb  6 05:22:55 2017	(r313319)
+++ stable/10/usr.bin/mail/send.c	Mon Feb  6 05:24:17 2017	(r313320)
@@ -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