svn commit: r312664 - head/usr.bin/mail

Xin LI delphij at FreeBSD.org
Mon Jan 23 07:32:48 UTC 2017


Author: delphij
Date: Mon Jan 23 07:32:47 2017
New Revision: 312664
URL: https://svnweb.freebsd.org/changeset/base/312664

Log:
  Always initialize 'c'.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/mail/send.c

Modified: head/usr.bin/mail/send.c
==============================================================================
--- head/usr.bin/mail/send.c	Mon Jan 23 06:04:43 2017	(r312663)
+++ head/usr.bin/mail/send.c	Mon Jan 23 07:32:47 2017	(r312664)
@@ -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