You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2010/09/16 11:56:39 UTC
svn commit: r997664 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
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