summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 2941669..43048dd 100644
--- a/utf8.c
+++ b/utf8.c
@@ -27,8 +27,8 @@
int
cptoutf8(char * utf8_str, uint32_t c)
{
- int len = 0;
- int first;
+ int len = 0;
+ int first = 0;
int i;
if (c < 0x80)