Silence a static analysis warning.

This commit is contained in:
David Reid
2025-02-23 14:26:58 +10:00
parent 5c0724ad59
commit 9511596a25
+1
View File
@@ -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. */ goto done; /* <-- This will ensure the execution pointer is incremented. */
} else { } else {
result = MA_SUCCESS; /* <-- Make sure this is reset. */ 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. */ /* Try initializing the connector if we haven't already. */