]> git.sesse.net Git - vlc/commitdiff
Init the variable (CID 239)
authorRémi Duraffort <ivoire@videolan.org>
Wed, 1 Oct 2008 18:27:36 +0000 (20:27 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 1 Oct 2008 18:36:02 +0000 (20:36 +0200)
src/video_output/vout_intf.c

index 89c972b13da4a657c1a89b1e9a5122796c46ae26..f12b24b5d555f537b1bae06fea9f6aafc7f54d83 100644 (file)
@@ -495,7 +495,7 @@ static int VoutSnapshotPip( vout_thread_t *p_vout, image_handler_t *p_image, pic
  */
 static char *VoutSnapshotGetDefaultDirectory( void )
 {
-    char *psz_path;
+    char *psz_path = NULL;
 #if defined(__APPLE__) || defined(SYS_BEOS)
 
     if( asprintf( &psz_path, "%s/Desktop",