changeset 17767:61227210498e

Missing initialization
author reimar
date Wed, 08 Mar 2006 10:24:07 +0000
parents b8be9bedc108
children c7b1b78f14bd
files osdep/strl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/strl.c	Wed Mar 08 10:04:05 2006 +0000
+++ b/osdep/strl.c	Wed Mar 08 10:24:07 2006 +0000
@@ -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--;