svn commit: r352216 - head/usr.bin/locale

Yuri Pankov yuripv at FreeBSD.org
Wed Sep 11 16:00:03 UTC 2019


Author: yuripv
Date: Wed Sep 11 16:00:03 2019
New Revision: 352216
URL: https://svnweb.freebsd.org/changeset/base/352216

Log:
  locale: initialize variables to make gcc happy
  
  Reported by:	jenkins

Modified:
  head/usr.bin/locale/locale.c

Modified: head/usr.bin/locale/locale.c
==============================================================================
--- head/usr.bin/locale/locale.c	Wed Sep 11 15:41:36 2019	(r352215)
+++ head/usr.bin/locale/locale.c	Wed Sep 11 16:00:03 2019	(r352216)
@@ -745,7 +745,7 @@ kwval_ltime(int id)
 {
 	char *rval;
 	struct sbuf *kwsbuf;
-	nl_item i, s_item, e_item;
+	nl_item i, s_item = 0, e_item = 0;
 
 	switch (id) {
 	case KW_TIME_DAY:


More information about the svn-src-head mailing list