winmm: Remove an unused variable in WINMM_GetComponentTypeLineInfo().

Francois Gouget fgouget at free.fr
Sun Jul 17 03:17:41 CDT 2011


---

It used to be used but that's no longer the case so I guess it can be 
removed.

 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.5.4




More information about the wine-patches mailing list