From 4b4af4ea59d9fc9f489defffd94e9141098b0bf1 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Mon, 4 Jun 2018 15:24:37 +0200 Subject: Fixed compilation issues with gcc >= 7.2 Fixed some warnings about uninitialized variables --- plugins/alsa/alsa-api-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/alsa/alsa-api-pcm.c') diff --git a/plugins/alsa/alsa-api-pcm.c b/plugins/alsa/alsa-api-pcm.c index 228b7a7..5340f99 100644 --- a/plugins/alsa/alsa-api-pcm.c +++ b/plugins/alsa/alsa-api-pcm.c @@ -190,7 +190,7 @@ OnErrorExit: PUBLIC AlsaSndPcmT *ApiPcmAttachOne(SoftMixerT *mixer, const char *uid, snd_pcm_stream_t direction, json_object *argsJ) { AlsaSndPcmT *pcm = calloc(1, sizeof (AlsaSndPcmT)); - json_object *sourceJ = NULL, *paramsJ = NULL, *sinkJ = NULL, *targetJ; + json_object *sourceJ = NULL, *paramsJ = NULL, *sinkJ = NULL, *targetJ = NULL; int error; pcm->sndcard = (AlsaSndCtlT*) calloc(1, sizeof (AlsaSndCtlT)); -- cgit 1.2.3-korg