mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Fix expression with side effect in pa_assert
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/641>
This commit is contained in:
parent
733969ac19
commit
e189924570
4 changed files with 7 additions and 7 deletions
|
|
@ -2513,10 +2513,10 @@ static int bluez5_device_message_handler(const char *object_path, const char *me
|
|||
pa_bluetooth_profile_t profile;
|
||||
const pa_a2dp_endpoint_conf *endpoint_conf;
|
||||
const char *codec_name;
|
||||
struct userdata *u;
|
||||
struct userdata *u = userdata;
|
||||
bool is_a2dp_sink;
|
||||
|
||||
pa_assert(u = (struct userdata *)userdata);
|
||||
pa_assert(u);
|
||||
pa_assert(message);
|
||||
pa_assert(response);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue