Fabian Maurer : wineandroid.drv: In AudioClient_IsFormatSupported remove unneeded statement (cppcheck).
Alexandre Julliard
julliard at winehq.org
Tue Oct 3 15:39:53 CDT 2017
Module: wine
Branch: master
Commit: 67756774f5b8d37fee278959d4ba0400acb9d68f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=67756774f5b8d37fee278959d4ba0400acb9d68f
Author: Fabian Maurer <dark.shadow4 at web.de>
Date: Tue Oct 3 17:43:23 2017 +0200
wineandroid.drv: In AudioClient_IsFormatSupported remove unneeded statement (cppcheck).
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wineandroid.drv/mmdevdrv.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/wineandroid.drv/mmdevdrv.c b/dlls/wineandroid.drv/mmdevdrv.c
index 275b652..84aafb7 100644
--- a/dlls/wineandroid.drv/mmdevdrv.c
+++ b/dlls/wineandroid.drv/mmdevdrv.c
@@ -1079,11 +1079,8 @@ static HRESULT WINAPI AudioClient_IsFormatSupported(IAudioClient *iface,
dump_fmt(pwfx);
- if(outpwfx){
+ if(outpwfx)
*outpwfx = NULL;
- if(mode != AUDCLNT_SHAREMODE_SHARED)
- outpwfx = NULL;
- }
hr = waveformat_to_pcm(This, pwfx, &pcm);
TRACE("returning: %08x\n", hr);
More information about the wine-cvs
mailing list