httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r997664 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Thu, 16 Sep 2010 09:56:39 GMT
Author: minfrin
Date: Thu Sep 16 09:56:38 2010
New Revision: 997664

URL: http://svn.apache.org/viewvc?rev=997664&view=rev
Log:
Ensure the return value is initialised.

Modified:
    httpd/httpd/trunk/modules/cache/mod_disk_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=997664&r1=997663&r2=997664&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Thu Sep 16 09:56:38 2010
@@ -157,7 +157,7 @@ static apr_status_t safe_file_rename(dis
 static apr_status_t file_cache_el_final(disk_cache_conf *conf, disk_cache_file_t *file,
                                         request_rec *r)
 {
-    apr_status_t rv;
+    apr_status_t rv = APR_SUCCESS;
 
     /* This assumes that the tempfiles are on the same file system
      * as the cache_root. If not, then we need a file copy/move



Mime
View raw message