Commit 2f066806 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix uninitialized variables (CID 242)

parent a81102ef
...@@ -242,8 +242,9 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end, ...@@ -242,8 +242,9 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end,
static int parser_SetTextColor( char *psz_command, char *psz_end, static int parser_SetTextColor( char *psz_command, char *psz_end,
commandparams_t *p_params ) commandparams_t *p_params )
{ {
int r, g, b; int r = 0, g = 0, b = 0;
VLC_UNUSED(psz_end); VLC_UNUSED(psz_end);
skip_space( &psz_command ); skip_space( &psz_command );
if( isdigit( *psz_command ) ) if( isdigit( *psz_command ) )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment