svn commit: r270979 - stable/10/sys/kern

Ed Maste emaste at FreeBSD.org
Tue Sep 2 19:48:38 UTC 2014


Author: emaste
Date: Tue Sep  2 19:48:37 2014
New Revision: 270979
URL: http://svnweb.freebsd.org/changeset/base/270979

Log:
  MFC part of r267973: remove redundant "" assignment for string in BSS.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/sys/kern/kern_cons.c

Modified: stable/10/sys/kern/kern_cons.c
==============================================================================
--- stable/10/sys/kern/kern_cons.c	Tue Sep  2 19:36:18 2014	(r270978)
+++ stable/10/sys/kern/kern_cons.c	Tue Sep  2 19:48:37 2014	(r270979)
@@ -652,7 +652,7 @@ sysbeep(int pitch __unused, int period _
 /*
  * Temporary support for sc(4) to vt(4) transition.
  */
-static char vty_name[16] = "";
+static char vty_name[16];
 SYSCTL_STRING(_kern, OID_AUTO, vty, CTLFLAG_RDTUN, vty_name, 0,
     "Console vty driver");
 


More information about the svn-src-all mailing list