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

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Mar 8 11:24:09 CET 2006


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;
 
 	if (size > 0) {
 	size--;




More information about the MPlayer-cvslog mailing list