From 6177b7482e88b40bd1872fa484a1674868958d1e Mon Sep 17 00:00:00 2001 From: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Wed, 26 Jun 2019 16:07:24 +0300 Subject: [PATCH] softdsp-endpoint: fix compiler warnings --- modules/module-pw-audio-softdsp-endpoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/module-pw-audio-softdsp-endpoint.c b/modules/module-pw-audio-softdsp-endpoint.c index cba819ad..c6f2886d 100644 --- a/modules/module-pw-audio-softdsp-endpoint.c +++ b/modules/module-pw-audio-softdsp-endpoint.c @@ -352,7 +352,7 @@ on_proxy_node_created(GObject *initable, GAsyncResult *res, gpointer data) { WpPwAudioSoftdspEndpoint *self = data; GVariantDict d; - g_autofree gchar *name; + g_autofree gchar *name = NULL; const struct spa_dict *props; /* Get the proxy node */ @@ -705,7 +705,7 @@ endpoint_factory (WpFactory * factory, GType type, GVariant * properties, GAsyncReadyCallback ready, gpointer user_data) { g_autoptr (WpCore) core = NULL; - const gchar *name, *media_class; + const gchar *media_class; guint global_id; /* Make sure the type is correct */ -- GitLab