httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r610281 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Wed, 09 Jan 2008 06:53:55 GMT
Author: wrowe
Date: Tue Jan  8 22:53:52 2008
New Revision: 610281

URL: http://svn.apache.org/viewvc?rev=610281&view=rev
Log:
rv is unused in APR rev 0.9

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=610281&r1=610280&r2=610281&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Tue Jan  8 22:53:52 2008
@@ -2023,14 +2023,13 @@
 {
     ftp_connection *fc = ftp_get_module_config(r->connection->conn_config);
     char *endp;
-    apr_status_t rv;
 
 #if APR_MAJOR_VERSION < 1
     fc->restart_point = apr_atoi64(arg);
     endp = (char*)arg + strspn(arg, "0123456789");
     if (
 #else
-    rv = apr_strtoff(&(fc->restart_point), arg, &endp, 10);
+    apr_status_t rv = apr_strtoff(&(fc->restart_point), arg, &endp, 10);
     if ((rv != APR_SUCCESS) ||
 #endif
         (*arg == '\0') || (*endp != '\0') || (fc->restart_point < 0))



Mime
View raw message