policy-node: fix warning

This commit is contained in:
Wim Taymans 2023-06-20 08:23:05 +02:00
parent 80dae7e24b
commit 5b008c9d21

View file

@ -409,7 +409,7 @@ static const struct sm_object_events object_events = {
static int
handle_node(struct impl *impl, struct sm_object *object)
{
const char *media_class = NULL, *role;
const char *media_class = NULL, *role = NULL;
enum pw_direction direction;
struct node *node;
uint32_t client_id = SPA_ID_INVALID;