mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-25 06:46:40 -04:00
Fix some warnings
added cleanup of unused variables and fix warning about missing initializers to resolve build warnings in pipewire-rs Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
This commit is contained in:
parent
e8c6c78982
commit
f4a56ad45d
7 changed files with 20 additions and 19 deletions
|
|
@ -215,7 +215,7 @@ spa_graph_node_init(struct spa_graph_node *node, struct spa_graph_state *state)
|
|||
}
|
||||
|
||||
|
||||
static inline int spa_graph_node_impl_sub_process(void *data, struct spa_graph_node *node)
|
||||
static inline int spa_graph_node_impl_sub_process(void *data SPA_UNUSED, struct spa_graph_node *node)
|
||||
{
|
||||
struct spa_graph *graph = node->subgraph;
|
||||
spa_debug("node %p: sub process %p", node, graph);
|
||||
|
|
@ -322,7 +322,7 @@ static inline int spa_graph_node_impl_process(void *data, struct spa_graph_node
|
|||
return state->status;
|
||||
}
|
||||
|
||||
static inline int spa_graph_node_impl_reuse_buffer(void *data, struct spa_graph_node *node,
|
||||
static inline int spa_graph_node_impl_reuse_buffer(void *data, struct spa_graph_node *node SPA_UNUSED,
|
||||
uint32_t port_id, uint32_t buffer_id)
|
||||
{
|
||||
struct spa_node *n = (struct spa_node *)data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue