]> git.sesse.net Git - vlc/commitdiff
Fix uninitialized variables (CID 242)
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:29:57 +0000 (11:29 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:32:06 +0000 (11:32 -0700)
modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c

index b50acd09fc1145ef94befb960a7485b808c78fc5..03e28b2fe602603f05a2d6cb8c9ea6f930a596c3 100644 (file)
@@ -242,8 +242,9 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end,
 static int parser_SetTextColor( char *psz_command, char *psz_end,
                                 commandparams_t *p_params )
 {
-    int r, g, b;
+    int r = 0, g = 0, b = 0;
     VLC_UNUSED(psz_end);
+
     skip_space( &psz_command );
     if( isdigit( *psz_command ) )
     {