[vlc-devel] [PATCH 05/12] rc: Fix invalid returned value

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Oct 23 12:17:45 CEST 2014


---
 modules/control/rc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/rc.c b/modules/control/rc.c
index 54a23c1..0099f7f 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -482,7 +482,7 @@ static void *Run( void *data )
     if( p_intf->p_sys->hConsoleIn == INVALID_HANDLE_VALUE )
     {
         msg_Err( p_intf, "couldn't find user input handle" );
-        return;
+        return NULL;
     }
 #endif
 
-- 
2.1.1




More information about the vlc-devel mailing list