summaryrefslogtreecommitdiff
path: root/usr.bin/locale
diff options
context:
space:
mode:
authorYuri Pankov <yuripv@FreeBSD.org>2019-09-11 16:00:03 +0000
committerYuri Pankov <yuripv@FreeBSD.org>2019-09-11 16:00:03 +0000
commiteb6dbc22710e474755072b59b1b0ec57f3d25e27 (patch)
treeab992cdf5f47b2c3f54a3fe68b5ba13a6a6b36ed /usr.bin/locale
parent6f32ca1936b87c8a08190ab092a1f38c3e728827 (diff)
downloadsrc-test2-eb6dbc22710e474755072b59b1b0ec57f3d25e27.tar.gz
src-test2-eb6dbc22710e474755072b59b1b0ec57f3d25e27.zip
Notes
Diffstat (limited to 'usr.bin/locale')
-rw-r--r--usr.bin/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c
index 294bfe873081..022c05358703 100644
--- a/usr.bin/locale/locale.c
+++ b/usr.bin/locale/locale.c
@@ -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: