aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index a4886d28..3e0db7e8 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -213,7 +213,7 @@ static SerdStatus
read_utf8_code(SerdReader* reader, Ref dest, uint32_t* code, uint8_t c)
{
uint32_t size;
- uint8_t bytes[4];
+ uint8_t bytes[4] = { 0, 0, 0, 0 };
SerdStatus st = read_utf8_bytes(reader, bytes, &size, c);
if (st) {
push_bytes(reader, dest, replacement_char, 3);