i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

initializing error code #56

Closed jolange closed 7 years ago

jolange commented 7 years ago

to avoid a warning:

[...]/apulse-stream.c: In function ‘do_connect_pcm’:
[...]/apulse-stream.c:433:8: warning: ‘errcode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (errcode == -EACCES) {
        ^
i-rinat commented 7 years ago

Looks good. Thanks!