winmm: Remove some extraneous code from WINMM_GetLineIDLineInfo.

Gerald Pfeifer gerald at pfeifer.com
Fri Jul 15 16:42:23 CDT 2011


Unlike other helper functions, this is not needed/used here.

Gerald
---
 dlls/winmm/waveform.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/winmm/waveform.c b/dlls/winmm/waveform.c
index a207e67..48efb0f 100644
--- a/dlls/winmm/waveform.c
+++ b/dlls/winmm/waveform.c
@@ -3807,10 +3807,6 @@ static UINT WINMM_GetComponentTypeLineInfo(WINMM_MMDevice *mmdevice,
 static UINT WINMM_GetLineIDLineInfo(WINMM_MMDevice *mmdevice,
         UINT mmdev_index, MIXERLINEW *info, DWORD flags)
 {
-    BOOL is_out = TRUE;
-    if(mmdevice->in_caps.szPname[0] != '\0')
-        is_out = FALSE;
-
     if(info->dwLineID == 0xFFFF0000){
         info->dwDestination = 0;
         return WINMM_GetDestinationLineInfo(mmdevice, mmdev_index, info, flags);
-- 
1.7.3.5



More information about the wine-patches mailing list