From cc39378d2f3047bbb7ad1427fe2f16058c8d165a Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 4 Aug 2007 17:40:15 +0000 Subject: [PATCH] Compile fix --- modules/control/http/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/control/http/util.c b/modules/control/http/util.c index a32a7f90f6..64d913a800 100644 --- a/modules/control/http/util.c +++ b/modules/control/http/util.c @@ -980,6 +980,7 @@ char *E_(RealPath)( intf_thread_t *p_intf, const char *psz_src ) if( psz_dir[0] == '~' ) { + char dir; /* This is incomplete : we should also support the ~cmassiot/ syntax. */ asprintf( &dir, "%s%s", p_intf->p_libvlc->psz_userdir, psz_dir + 1 ); free( psz_dir ); -- 2.20.1