summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2020-09-11 01:34:41 +0200
committerpgen <p.gen.progs@gmail.com>2020-09-13 12:12:21 +0200
commit5f0c395a51d85d306c175da6358fd59c4033730b (patch)
tree976f3eb0a8df6ffb4c96b1ed4a6df5c5a47a981d /utf8.c
parent683f32c8f52e2e89aa3cff60a9f9c2140a59e5bc (diff)
Avoid compiler warnings
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)