mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -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
|
|
@ -300,7 +300,8 @@ spa_buffer_alloc_array(uint32_t n_buffers, uint32_t flags,
|
|||
{
|
||||
|
||||
struct spa_buffer **buffers;
|
||||
struct spa_buffer_alloc_info info = { flags | SPA_BUFFER_ALLOC_FLAG_INLINE_ALL, };
|
||||
struct spa_buffer_alloc_info info = { flags | SPA_BUFFER_ALLOC_FLAG_INLINE_ALL,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
|
||||
void *skel;
|
||||
|
||||
spa_buffer_alloc_fill_info(&info, n_metas, metas, n_datas, datas, data_aligns);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue