mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 07:48:01 +02:00
m-lua-scripting: don't show warning if object key is not a string
The wp_spa_json_parse_string() API also works for strings without quotes.
This commit is contained in:
parent
d79c0f45d5
commit
535af7a33e
1 changed files with 0 additions and 1 deletions
|
|
@ -152,7 +152,6 @@ push_luajson (lua_State *L, WpSpaJson *json)
|
|||
WpSpaJson *key = g_value_get_boxed (&item);
|
||||
g_autofree gchar *key_str = NULL;
|
||||
WpSpaJson *value = NULL;
|
||||
g_warn_if_fail (wp_spa_json_is_string (key));
|
||||
key_str = wp_spa_json_parse_string (key);
|
||||
g_warn_if_fail (key_str);
|
||||
g_value_unset (&item);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue