mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-26 07:00:13 -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
|
|
@ -19,7 +19,7 @@ extern "C" {
|
|||
* \{
|
||||
*/
|
||||
|
||||
static inline SPA_PRINTF_FUNC(7, 0) void spa_log_impl_logtv(void *object,
|
||||
static inline SPA_PRINTF_FUNC(7, 0) void spa_log_impl_logtv(void *object SPA_UNUSED,
|
||||
enum spa_log_level level,
|
||||
const struct spa_log_topic *topic,
|
||||
const char *file,
|
||||
|
|
@ -88,7 +88,7 @@ static inline SPA_PRINTF_FUNC(6,7) void spa_log_impl_log(void *object,
|
|||
va_end(args);
|
||||
}
|
||||
|
||||
static inline void spa_log_impl_topic_init(void *object, struct spa_log_topic *topic)
|
||||
static inline void spa_log_impl_topic_init(void *object SPA_UNUSED, struct spa_log_topic *topic SPA_UNUSED)
|
||||
{
|
||||
/* noop */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue