summaryrefslogtreecommitdiff
path: root/time/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/strftime.c')
-rw-r--r--time/strftime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/strftime.c b/time/strftime.c
index 4afcdd20fb..56abd45240 100644
--- a/time/strftime.c
+++ b/time/strftime.c
@@ -493,6 +493,7 @@ strftime (s, maxsize, format, tp)
#endif /* ! DO_MULTIBYTE */
/* Check for flags that can modify a format. */
+ pad = 0;
while (1)
{
switch (*++f)
@@ -510,7 +511,6 @@ strftime (s, maxsize, format, tp)
continue;
default:
- pad = 0;
break;
}
break;