Commit 6ae1bfe2 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dplayx: Remove dead code (Clang).

parent 982e7f96
...@@ -3391,8 +3391,6 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest, ...@@ -3391,8 +3391,6 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lstrcpyA( (LPSTR)lpStartOfFreeSpace, lstrcpyA( (LPSTR)lpStartOfFreeSpace,
lpSessionDest->u2.lpszPasswordA ); lpSessionDest->u2.lpszPasswordA );
lpSessionDest->u2.lpszPasswordA = (LPSTR)lpStartOfFreeSpace; lpSessionDest->u2.lpszPasswordA = (LPSTR)lpStartOfFreeSpace;
lpStartOfFreeSpace +=
lstrlenA( lpSessionDest->u2.lpszPasswordA ) + 1;
} }
} }
else /* UNICODE */ else /* UNICODE */
...@@ -3411,8 +3409,6 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest, ...@@ -3411,8 +3409,6 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lstrcpyW( (LPWSTR)lpStartOfFreeSpace, lstrcpyW( (LPWSTR)lpStartOfFreeSpace,
lpSessionDest->u2.lpszPassword ); lpSessionDest->u2.lpszPassword );
lpSessionDest->u2.lpszPassword = (LPWSTR)lpStartOfFreeSpace; lpSessionDest->u2.lpszPassword = (LPWSTR)lpStartOfFreeSpace;
lpStartOfFreeSpace += sizeof(WCHAR) *
( lstrlenW( lpSessionDest->u2.lpszPassword ) + 1 );
} }
} }
} }
...@@ -4593,8 +4589,6 @@ static HRESULT DP_SendEx ...@@ -4593,8 +4589,6 @@ static HRESULT DP_SendEx
( DP_FindPlayer( This, idTo ) != NULL ) ( DP_FindPlayer( This, idTo ) != NULL )
) )
{ {
bValidDestination = TRUE;
/* Have the service provider send this message */ /* Have the service provider send this message */
/* FIXME: Could optimize for local interface sends */ /* FIXME: Could optimize for local interface sends */
return DP_SP_SendEx( This, dwFlags, lpData, dwDataSize, dwPriority, return DP_SP_SendEx( This, dwFlags, lpData, dwDataSize, dwPriority,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment