[PATCH 1/2] msg711.acm: Remove dead code in G711_FormatSuggest

Bruno Jesus 00cpxxx at gmail.com
Wed Nov 30 15:20:43 CST 2016


The switch already handles all 3 cases possible, G711_GetFormatIndex called previously filter out any other option so the default is redundant.

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
---
 dlls/msg711.acm/msg711.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dlls/msg711.acm/msg711.c b/dlls/msg711.acm/msg711.c
index e74d329..4593bd9 100644
--- a/dlls/msg711.acm/msg711.c
+++ b/dlls/msg711.acm/msg711.c
@@ -843,9 +843,6 @@ static	LRESULT	G711_FormatSuggest(PACMDRVFORMATSUGGEST adfs)
         adfs->pwfxDst->nBlockAlign = adfs->pwfxDst->nChannels;
         adfs->pwfxDst->nAvgBytesPerSec = adfs->pwfxDst->nSamplesPerSec * adfs->pwfxSrc->nChannels;
         break;
-    default:
-        FIXME("\n");
-        break;
     }
 
     return MMSYSERR_NOERROR;
-- 
2.9.3




More information about the wine-patches mailing list