dplayx: Remove dead code (Clang).

This commit is contained in:
Frédéric Delanoy 2011-07-03 20:28:29 +02:00 committed by Alexandre Julliard
parent 982e7f96b1
commit 6ae1bfe20f
1 changed files with 0 additions and 6 deletions

View File

@ -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,
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
( 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,