Skip to content
Commit 090aaa4f authored by Barnabás Pőcze's avatar Barnabás Pőcze
Browse files

media-session: bluez-autoswitch: simplify logic

When `val` was used, it was always a true-ish since the
address of an array on the stack was assigned to it.
Remove this variable altogether, and use `name` directly.
Only use `name` when it is valid - when `key && value`.
parent 3724088c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment