spa: return before entering the error branch

In the normal case we should not go into the error path.
This commit is contained in:
Wim Taymans 2025-07-15 14:51:24 +02:00
parent b8e29d471b
commit da9bd36cbb

View file

@ -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);
break;
}
return 0;
bad_body:
spa_strbuf_append(buffer, "INVALID BODY type %d", type);
return 0;