mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-31 11:09:04 -05: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
|
|
@ -78,7 +78,7 @@ static inline int spa_pod_choice_fix_default(struct spa_pod_choice *choice)
|
|||
}
|
||||
|
||||
static inline int spa_pod_filter_flags_value(struct spa_pod_builder *b,
|
||||
uint32_t type, const void *r1, const void *r2, uint32_t size)
|
||||
uint32_t type, const void *r1, const void *r2, uint32_t size SPA_UNUSED)
|
||||
{
|
||||
switch (type) {
|
||||
case SPA_TYPE_Int:
|
||||
|
|
@ -104,7 +104,7 @@ static inline int spa_pod_filter_flags_value(struct spa_pod_builder *b,
|
|||
}
|
||||
|
||||
static inline int spa_pod_filter_is_step_of(uint32_t type, const void *r1,
|
||||
const void *r2, uint32_t size)
|
||||
const void *r2, uint32_t size SPA_UNUSED)
|
||||
{
|
||||
switch (type) {
|
||||
case SPA_TYPE_Int:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue