From 6693de9655c862e790e1db16f8fa903dd1ecd892 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 14 Jan 2024 14:46:17 +0100 Subject: [PATCH] btrace: fix coverity warning --- src/btrace/btrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/btrace/btrace.c b/src/btrace/btrace.c index 11d5d483f..3e632de32 100644 --- a/src/btrace/btrace.c +++ b/src/btrace/btrace.c @@ -114,7 +114,7 @@ static int print_debug(struct re_printf *pf, struct btrace *bt, re_regex(symbols[j], str_len(symbols[j]), "([^)]+", &addr); - re_snprintf(addr2l, sizeof(addr2l), + (void)re_snprintf(addr2l, sizeof(addr2l), "addr2line -p -f -e %s %r", exe, &addr); pipe = popen(addr2l, "r");