Silence an assigned-but-not-used warning.

This commit is contained in:
David Reid
2026-01-07 16:42:27 +10:00
parent 61f1f8b457
commit 3b0391ad44
2 changed files with 3 additions and 0 deletions
@@ -2090,6 +2090,8 @@ static ma_result ma_context_enumerate_devices__pipewire(ma_context* pContext, ma
cbResult = ma_context_enumerate_default_device_by_type__pipewire(pContext, ma_device_type_capture, callback, pUserData);
}
}
(void)cbResult; /* Silence a static analysis warning. Want to keep this assignment in case we extend this logic later. */
}
+1
View File
@@ -434,6 +434,7 @@ static ma_result ma_context_enumerate_devices__sdl2(ma_context* pContext, ma_enu
}
cbResult = callback(ma_device_type_capture, &deviceInfo, pCallbackUserData);
(void)cbResult; /* Silence a static analysis warning. Want to keep this assignment in case we extend this logic later. */
}
}