[vlc-devel] commit: Unused parameter ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 30 18:25:54 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Aug 30 19:24:20 2008 +0300| [5c97e6fc3845fb69676fb69895c446d75490ca55] | committer: Rémi Denis-Courmont 

Unused parameter

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

 src/video_output/vout_intf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 7ed2ab4..4676707 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -485,7 +485,7 @@ static int VoutSnapshotPip( vout_thread_t *p_vout, image_handler_t *p_image, pic
 /**
  * This function will return the default directory used for snapshots
  */
-static char *VoutSnapshotGetDefaultDirectory( vout_thread_t *p_vout )
+static char *VoutSnapshotGetDefaultDirectory( void )
 {
     char *psz_path;
 #if defined(__APPLE__) || defined(SYS_BEOS)
@@ -690,7 +690,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
 
     /* Get default directory if none provided */
     if( !val.psz_string )
-        val.psz_string = VoutSnapshotGetDefaultDirectory( p_vout );
+        val.psz_string = VoutSnapshotGetDefaultDirectory( );
     if( !val.psz_string )
     {
         msg_Err( p_vout, "no path specified for snapshots" );




More information about the vlc-devel mailing list