aboutsummaryrefslogtreecommitdiffstats
path: root/src/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern.c b/src/pattern.c
index 8031469..4075a6f 100644
--- a/src/pattern.c
+++ b/src/pattern.c
@@ -79,7 +79,7 @@ try_evaluate (char *restrict buf, size_t n, const char *restrict pattern,
size_t i = 0;
ssize_t j = 0;
- int percent = 0, backslash = 0, dollar = 0, r;
+ int percent = 0, backslash = 0, dollar = 0, r = 0;
char c;
char *fmt = NULL;
time_t t;