From e066d8521e385d8a54072152bc9358e99d3ec8fb Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Mon, 15 Jan 2024 17:57:45 +0100 Subject: [PATCH] btrace: fix coverity warning (#1049) --- 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");