Suppress am unused_result warning.

This commit is contained in:
Mike Brady
2026-05-01 16:09:02 +01:00
parent 052fd10acc
commit 4f2a64fa39
+1 -1
View File
@@ -327,7 +327,7 @@ void *rtp_buffered_audio_processor(void *arg) {
finished = 1;
} else if (nread < 0) {
char errorstring[1024];
strerror_r(errno, (char *)errorstring, sizeof(errorstring));
(void) !strerror_r(errno, (char *)errorstring, sizeof(errorstring)); // (void) ! to suppress unused response warning
debug(1, "error in rtp_buffered_audio_processor %d: \"%s\". Could not recv a data_len .",
errno, errorstring);
finished = 1;