[vlc-devel] commit: remove useless msg_Err() , use memset() for simplicity ( Rafaël Carré )

Rafaël Carré funman at videolan.org
Tue Mar 11 14:34:17 CET 2008


On Tue, 2008-03-11 at 15:12 +0200, Rémi Denis-Courmont wrote:
> Le Tuesday 11 March 2008 10:05:08 git version control, vous avez écrit :
> > vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Mar 11
> > 01:51:20 2008 +0100| [c7caf0005dcab6d0f4bb007bff53f84a5977de44]
> >
> > remove useless msg_Err() , use memset() for simplicity
> 
> I know we (VLC and otherwhere) use memset() for NULL, but this is not 
> standard - memset() sets bits to zero, not pointers to NULL. It just happens 
> to work on all real-life platforms :o

I shall remember that when someone porting VLC to his toaster and seeing
very strange stuff will come ask for help ;)

-- 
Rafaël Carré <funman at videolan.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080311/db07e7fe/attachment.sig>


More information about the vlc-devel mailing list