[vlc-devel] commit: Properly initialize psz_name in PrintObject(). Fixes a warning: " Conditional jump or move depends on uninitialised values" (Jean-Paul Saman )
Antoine Cellerier
dionoea at videolan.org
Wed Apr 16 16:24:36 CEST 2008
On Wed, Apr 16, 2008, git version control wrote:
> - psz_name[0] = '\0';
> + memset( &psz_name, 0, sizeof(psz_name) );
I don't understand why psz_name[0] = '\0' isn't valid. A zero terminated
string doesn't need to be 0 padded.
--
Antoine Cellerier
dionoea
More information about the vlc-devel
mailing list