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:
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to