Skip to content

Commit

Permalink
fmt/text2pcap: fix coverity return value warning (baresip#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Feb 11, 2024
1 parent b3ea9bb commit a35d110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmt/text2pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void re_text2pcap_trace(const char *name, const char *id, bool in,
if (!pcap_buf)
return;

re_snprintf(pcap_buf, pcap_buf_sz, "%H", re_text2pcap, &pcap);
(void)re_snprintf(pcap_buf, pcap_buf_sz, "%H", re_text2pcap, &pcap);

re_trace_event("pcap", name, 'I', NULL, RE_TRACE_ARG_STRING_COPY,
"pcap", pcap_buf);
Expand Down

0 comments on commit a35d110

Please sign in to comment.