diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-04 15:24:37 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-04 15:24:37 +0200 |
commit | 4b4af4ea59d9fc9f489defffd94e9141098b0bf1 (patch) | |
tree | 0d893754ff7db90e74833a18cd97f0b269c2e791 /plugins/alsa/alsa-api-pcm.c | |
parent | e5aff5427335422ba8c8487e880e150d15d0cb0b (diff) |
Fixed compilation issues with gcc >= 7.2
Fixed some warnings about uninitialized variables
Diffstat (limited to 'plugins/alsa/alsa-api-pcm.c')
-rw-r--r-- | plugins/alsa/alsa-api-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |