From b733587e181d5195d2562f9883b39213dcee529d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 10 Jun 2009 17:35:23 +0000 Subject: [PATCH] libs/px5g: fix "x509write.c:717: warning: 'ret' might be used uninitialized in this function" --- libs/px5g/src/library/x509write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/px5g/src/library/x509write.c b/libs/px5g/src/library/x509write.c index 353a1102f..173610c1a 100644 --- a/libs/px5g/src/library/x509write.c +++ b/libs/px5g/src/library/x509write.c @@ -714,7 +714,7 @@ static int x509write_parse_names(x509_node *node, unsigned char *names) *ST = NULL, *L = NULL, *R = NULL; int C_len = 0, CN_len = 0, O_len = 0, OU_len = 0, ST_len = 0, L_len = 0, R_len = 0; - int ret, is_tag = 1, is_begin = -1, len = 0; + int ret = 0, is_tag = 1, is_begin = -1, len = 0; for (sp = names; ; ++sp) { -- 2.25.1