[vlc-devel] commit: Revert "Revert "memcpy: Flag an unused param in memcpyaltivec."" ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Aug 21 08:09:30 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Aug 21 09:09:11 2009 +0300| [e8559279687476b8b2174b999d567877d59be505] | committer: Rémi Denis-Courmont 

Revert "Revert "memcpy: Flag an unused param in memcpyaltivec.""

This reverts commit 8c243091fba7a458af7716f1f69b54a083910554.

Not sure how thread-safety works here though.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8559279687476b8b2174b999d567877d59be505
---

 modules/misc/memcpy/memcpyaltivec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/misc/memcpy/memcpyaltivec.c b/modules/misc/memcpy/memcpyaltivec.c
index 2f75063..b8f2fcf 100644
--- a/modules/misc/memcpy/memcpyaltivec.c
+++ b/modules/misc/memcpy/memcpyaltivec.c
@@ -48,6 +48,7 @@ static void * fast_memcpy ( void * to, const void * from, size_t len );
  *****************************************************************************/
 static int Activate ( vlc_object_t *p_this )
 {
+    VLC_UNUSED(p_this);
     vlc_fastmem_register( fast_memcpy, NULL );
     return VLC_SUCCESS;
 }




More information about the vlc-devel mailing list