[sword-svn] r2013 - trunk/src/utilfuns
dglassey at www.crosswire.org
dglassey at www.crosswire.org
Sat Nov 25 15:01:04 MST 2006
Author: dglassey
Date: 2006-11-25 15:01:04 -0700 (Sat, 25 Nov 2006)
New Revision: 2013
Modified:
trunk/src/utilfuns/ftpparse.c
trunk/src/utilfuns/url.cpp
Log:
more unused variables and a missing return value
Modified: trunk/src/utilfuns/ftpparse.c
===================================================================
--- trunk/src/utilfuns/ftpparse.c 2006-11-25 21:30:56 UTC (rev 2012)
+++ trunk/src/utilfuns/ftpparse.c 2006-11-25 22:01:04 UTC (rev 2013)
@@ -109,6 +109,7 @@
if (now - t < 350 * 86400)
return t;
}
+ return 0;
}
static int check(char *buf,char *monthname)
@@ -145,10 +146,10 @@
int i;
int j;
int state;
- long size;
+ long size = 0;
long year;
- long month;
- long mday;
+ long month = 0;
+ long mday = 0;
long hour;
long minute;
Modified: trunk/src/utilfuns/url.cpp
===================================================================
--- trunk/src/utilfuns/url.cpp 2006-11-25 21:30:56 UTC (rev 2012)
+++ trunk/src/utilfuns/url.cpp 2006-11-25 22:01:04 UTC (rev 2013)
@@ -93,7 +93,6 @@
//1. Init
const char* urlPtr = url.c_str();
- int pos = 0;
protocol = "";
hostname = "";
More information about the sword-cvs
mailing list