From: Graham Leggett Date: Thu, 16 Sep 2010 09:56:38 +0000 (+0000) Subject: Ensure the return value is initialised. X-Git-Tag: 2.3.9~494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3f17c03b1bea2574fc795686f575498b574c88a;p=thirdparty%2Fapache%2Fhttpd.git Ensure the return value is initialised. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@997664 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index f902c0f95d9..8971587500e 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -157,7 +157,7 @@ static apr_status_t safe_file_rename(disk_cache_conf *conf, 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