[vlc-devel] commit: macosx: fix function prototype of manage_cleanup ( argument for pthread_cleanup_push). (Jean-Paul Saman )

git version control git at videolan.org
Mon Mar 16 12:06:48 CET 2009


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Mar 16 12:05:47 2009 +0100| [9d05fa788929812d3ff9c7034b75cadfb531b0a2] | committer: Jean-Paul Saman 

macosx: fix function prototype of manage_cleanup (argument for pthread_cleanup_push).

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

 modules/gui/macosx/intf.m |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 318b94f..a9f07da 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1418,7 +1418,7 @@ struct manage_cleanup_stack {
     id self;
 };
 
-static void * manage_cleanup( void * args )
+static void manage_cleanup( void * args )
 {
     struct manage_cleanup_stack * manage_cleanup_stack = args;
     intf_thread_t * p_intf = manage_cleanup_stack->p_intf;
@@ -1435,7 +1435,6 @@ static void * manage_cleanup( void * args )
     pl_Release( p_intf );
 
     if( p_input ) vlc_object_release( p_input );
-    return NULL;
 }
 
 - (void)manage




More information about the vlc-devel mailing list