dplayx: Remove dead code (Clang).
This commit is contained in:
parent
982e7f96b1
commit
6ae1bfe20f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue