From 9511596a254d7470b7e22990f24785cbe8a7d430 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 23 Feb 2025 14:26:58 +1000 Subject: [PATCH] Silence a static analysis warning. --- miniaudio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/miniaudio.h b/miniaudio.h index 1bf277dc..fd3278ae 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -71322,6 +71322,7 @@ static ma_result ma_job_process__resource_manager__load_data_buffer(ma_job* pJob goto done; /* <-- This will ensure the execution pointer is incremented. */ } else { result = MA_SUCCESS; /* <-- Make sure this is reset. */ + (void)result; /* <-- This is to suppress a static analysis diagnostic about "result" not being used. But for safety when I do future maintenance I don't want to delete that assignment. */ } /* Try initializing the connector if we haven't already. */