From: dmitrykos Date: Thu, 15 Jul 2010 23:27:21 +0000 (+0000) Subject: wasapi: X-Git-Tag: pa_stable_v19_20110326_r1647~104 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=f6d6f4e9557c35537bef01988a0aab0b85412224;p=portaudio wasapi: - fixed usage of uninitialized variable (Input) --- diff --git a/src/hostapi/wasapi/pa_win_wasapi.c b/src/hostapi/wasapi/pa_win_wasapi.c index 9c47cc5..9ca671c 100644 --- a/src/hostapi/wasapi/pa_win_wasapi.c +++ b/src/hostapi/wasapi/pa_win_wasapi.c @@ -3530,7 +3530,7 @@ static HRESULT ProcessOutputBuffer(PaWasapiStream *stream, PaWasapiHostProcessor // ------------------------------------------------------------------------------------------ static HRESULT ProcessInputBuffer(PaWasapiStream *stream, PaWasapiHostProcessor *processor) { - HRESULT hr; + HRESULT hr = S_OK; UINT32 frames; BYTE *data = NULL; DWORD flags = 0;