summaryrefslogtreecommitdiff
path: root/lib/strftime.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-28 12:19:53 +0000
committerJim Meyering <jim@meyering.net>1998-04-28 12:19:53 +0000
commita155c3d684798399b00ef142522dc05fba10c4ec (patch)
treec1ea675cdac09987e633d5a74b5b8999c2bdc89d /lib/strftime.c
parent3489f267a40cedff1b5478c78ee0d2e38d5999f1 (diff)
downloadcoreutils-a155c3d684798399b00ef142522dc05fba10c4ec.tar.xz
tweak from FSF
Diffstat (limited to 'lib/strftime.c')
-rw-r--r--lib/strftime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/strftime.c b/lib/strftime.c
index 5201a87e2..4e6407a40 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@ -490,7 +490,7 @@ my_strftime (s, maxsize, format, tp)
for (f = format; *f != '\0'; ++f)
{
- int pad; /* Padding for number ('-', '_', or 0). */
+ int pad = 0; /* Padding for number ('-', '_', or 0). */
int modifier; /* Field modifier ('E', 'O', or 0). */
int digits; /* Max digits for numeric format. */
int number_value; /* Numeric value to be printed. */
@@ -580,7 +580,6 @@ my_strftime (s, maxsize, format, tp)
#endif /* ! DO_MULTIBYTE */
/* Check for flags that can modify a format. */
- pad = 0;
while (1)
{
switch (*++f)