Commit 97656bdd authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Lev Walkin

Initialize ret in safe_printf(...)

../../libasn1print/asn1print.c:59:5: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
parent c8bc573f
......@@ -41,7 +41,7 @@ static int asn1print_expr_dtd(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *t
/* Check printf's error code, to be pedantic. */
static int safe_printf(const char *fmt, ...) {
int ret;
int ret = 0;
va_list ap;
va_start(ap, fmt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment