From: Ross Bencina Date: Sat, 10 Sep 2016 14:25:30 +0000 (+1000) Subject: wmme: fix possible unused variable warning (not a real issue) X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=df5c3f39e608d5c69d84399db43b3b2def8a1a19;p=portaudio wmme: fix possible unused variable warning (not a real issue) --- diff --git a/src/hostapi/wmme/pa_win_wmme.c b/src/hostapi/wmme/pa_win_wmme.c index d214bd9..2da90f4 100644 --- a/src/hostapi/wmme/pa_win_wmme.c +++ b/src/hostapi/wmme/pa_win_wmme.c @@ -2368,7 +2368,7 @@ static PaError OpenStream( struct PaUtilHostApiRepresentation *hostApi, unsigned long hostInputBufferCount; unsigned long framesPerHostOutputBuffer; unsigned long hostOutputBufferCount; - unsigned long framesPerBufferProcessorCall; + unsigned long framesPerBufferProcessorCall = 0; PaWinMmeDeviceAndChannelCount *inputDevices = 0; /* contains all devices and channel counts as local host api ids, even when PaWinMmeUseMultipleDevices is not used */ unsigned long winMmeSpecificInputFlags = 0; unsigned long inputDeviceCount = 0;