summaryrefslogtreecommitdiff
path: root/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'strftime.c')
-rw-r--r--strftime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/strftime.c b/strftime.c
index b404b7812c..4f1481de7d 100644
--- a/strftime.c
+++ b/strftime.c
@@ -771,6 +771,7 @@ rb_strftime_with_timespec(char *s, size_t maxsize, const char *format, const str
precision = -1;
flags = 0;
padding = 0;
+ colons = 0;
break;
}
if (i) {