mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Silence an assigned-but-not-used warning.
This commit is contained in:
@@ -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);
|
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. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
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. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user