[MPlayer-cvslog] CVS: main/osdep strl.c,1.4,1.5

Rich Felker dalias at aerifal.cx
Wed Mar 8 21:41:51 CET 2006


On Wed, Mar 08, 2006 at 11:24:09AM +0100, Reimar Döffinger CVS wrote:
> CVS change done by Reimar Döffinger CVS
> 
> Update of /cvsroot/mplayer/main/osdep
> In directory mail:/var2/tmp/cvs-serv30301
> 
> Modified Files:
> 	strl.c 
> Log Message:
> Missing initialization
> 
> 
> Index: strl.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/osdep/strl.c,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- strl.c	14 Nov 2005 00:28:03 -0000	1.4
> +++ strl.c	8 Mar 2006 10:24:07 -0000	1.5
> @@ -9,7 +9,7 @@
>  #ifndef HAVE_STRLCPY
>  unsigned int strlcpy (char *dest, const char *src, unsigned int size)
>  {
> -	register unsigned int i;
> +	register unsigned int i = 0;

Yes, I had found this too. Fortunately it didn't matter in any of the
places where we use strlcpy but it's good to fix.

Rich




More information about the MPlayer-cvslog mailing list