summaryrefslogtreecommitdiff
path: root/pith/ical.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/ical.c')
-rw-r--r--pith/ical.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/ical.c b/pith/ical.c
index 7022bb55..1798d3fb 100644
--- a/pith/ical.c
+++ b/pith/ical.c
@@ -1677,7 +1677,7 @@ ical_non_ascii_valid(unsigned char c)
static unsigned char icu[6];
static int utf8_len = 0;
static int utf8_type = 0;
- int rv;
+ int rv = 0;
if(utf8_len == 0)
utf8_type = (c >= 0xF0 && c <= 0xF4)