Revert "Revert "memcpy: Flag an unused param in memcpyaltivec.""
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 21 Aug 2009 06:09:11 +0000 (09:09 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 21 Aug 2009 06:09:11 +0000 (09:09 +0300)
This reverts commit 8c243091fba7a458af7716f1f69b54a083910554.

Not sure how thread-safety works here though.

modules/misc/memcpy/memcpyaltivec.c

index 2f75063..b8f2fcf 100644 (file)
@@ -48,6 +48,7 @@ static void * fast_memcpy ( void * to, const void * from, size_t len );
  *****************************************************************************/
 static int Activate ( vlc_object_t *p_this )
 {
  *****************************************************************************/
 static int Activate ( vlc_object_t *p_this )
 {
+    VLC_UNUSED(p_this);
     vlc_fastmem_register( fast_memcpy, NULL );
     return VLC_SUCCESS;
 }
     vlc_fastmem_register( fast_memcpy, NULL );
     return VLC_SUCCESS;
 }