Commit 8e49a4ee authored by Jean-Paul Saman's avatar Jean-Paul Saman

Properly initialize psz_name in PrintObject(). Fixes a warning: "Conditional...

Properly initialize psz_name in PrintObject(). Fixes a warning: "Conditional jump or move depends on uninitialised values"
parent cab50467
......@@ -1469,7 +1469,7 @@ static void PrintObject( vlc_object_t *p_this, const char *psz_prefix )
char psz_children[20], psz_refcount[20], psz_thread[30], psz_name[50],
psz_parent[20];
psz_name[0] = '\0';
memset( &psz_name, 0, sizeof(psz_name) );
if( p_this->psz_object_name )
{
snprintf( psz_name, 49, " \"%s\"", p_this->psz_object_name );
......
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