]> granicus.if.org Git - apache/commitdiff
Ensure the return value is initialised.
authorGraham Leggett <minfrin@apache.org>
Thu, 16 Sep 2010 09:56:38 +0000 (09:56 +0000)
committerGraham Leggett <minfrin@apache.org>
Thu, 16 Sep 2010 09:56:38 +0000 (09:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@997664 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_disk_cache.c

index f902c0f95d9f68ac93b8378ad6f39a9f7d4fe3fc..8971587500edda5769693124dd0c130b1215de2d 100644 (file)
@@ -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