From 02ef45be75a3024df11365956e1cce6392d9103c Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 29 Jan 2007 21:53:48 +0000 Subject: Each file in this commit has an issue where the initial value of a variable is assumed to be something but no initial value is given. This commit changes that by either assigning an initial value or removing the assumption on an initial value (usually the former). --- (limited to 'noncore/net') diff --git a/noncore/net/ftplib/ftplib.c b/noncore/net/ftplib/ftplib.c index addf9d2..ce4c05f 100644 --- a/noncore/net/ftplib/ftplib.c +++ b/noncore/net/ftplib/ftplib.c @@ -781,7 +781,7 @@ static int FtpAcceptConnection(netbuf *nData, netbuf *nControl) int i; struct timeval tv; fd_set mask; - int rv; + int rv = 1; FD_ZERO(&mask); FD_SET(nControl->handle, &mask); -- cgit v0.9.0.2