mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: return before entering the error branch
In the normal case we should not go into the error path.
This commit is contained in:
parent
b8e29d471b
commit
da9bd36cbb
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ spa_debug_strbuf_format_value(struct spa_strbuf *buffer, const struct spa_type_i
|
||||||
spa_strbuf_append(buffer, "INVALID type %d", type);
|
spa_strbuf_append(buffer, "INVALID type %d", type);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
bad_body:
|
bad_body:
|
||||||
spa_strbuf_append(buffer, "INVALID BODY type %d", type);
|
spa_strbuf_append(buffer, "INVALID BODY type %d", type);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue