[svn] Avoid unneeded initialization of local var.

This commit is contained in:
hniksic 2005-02-28 10:48:23 -08:00
parent e3fb2ec5df
commit 3d04bb3a2c
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ connect_to_ip (const ip_address *ip, int port, const char *print)
{
struct sockaddr_storage ss;
struct sockaddr *sa = (struct sockaddr *)&ss;
int sock = -1;
int sock;
/* If PRINT is non-NULL, print the "Connecting to..." line, with
PRINT being the host name we're connecting to. */

View File

@ -202,7 +202,7 @@ convert_links (const char *file, struct urlpos *links)
any URL needs to be converted in the first place. If not, just
leave the file alone. */
int dry_count = 0;
struct urlpos *dry = links;
struct urlpos *dry;
for (dry = links; dry; dry = dry->next)
if (dry->convert != CO_NOCONVERT)
++dry_count;