aboutsummaryrefslogtreecommitdiff
path: root/iri.c
diff options
context:
space:
mode:
Diffstat (limited to 'iri.c')
-rw-r--r--iri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iri.c b/iri.c
index e1552d6..64fcca2 100644
--- a/iri.c
+++ b/iri.c
@@ -424,7 +424,7 @@ trim_req_iri(char *iri, const char **err)
int
serialize_iri(struct iri *i, char *buf, size_t len)
{
- size_t l;
+ size_t l = 0;
/* in ex.c we receive empty "" strings as NULL */
if (i->schema == NULL || i->host == NULL) {