src/http/ngx_http_file_cache.c:967: error: Uninitialized Value
  The value read from wait was never initialized.

src/http/ngx_http_file_cache.c:967:5: 
965.     ngx_free(name);
966. 
967.     return wait;
         ^
968. }
969. 

static time_t
ngx_http_file_cache_expire(ngx_http_file_cache_t *cache)
{
    u_char                      *name, *p;
    size_t                       len;
    time_t                       now, wait;
    ngx_path_t                  *path;
    ngx_queue_t                 *q;
    ngx_http_file_cache_node_t  *fcn;
    u_char                       key[2 * NGX_HTTP_CACHE_KEY_LEN];
    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,
                   "http file cache expire");
    path = cache->path;
    len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN;
    name = ngx_alloc(len + 1, ngx_cycle->log);
    if (name == NULL) {
        return 10;
    }
    ngx_memcpy(name, path->name.data, path->name.len);
    now = ngx_time();
    ngx_shmtx_lock(&cache->shpool->mutex);
    for ( ;; ) {
        if (ngx_queue_empty(cache->queue)) {
            wait = 10;
            break;
        }
        q = ngx_queue_last(cache->queue);
        fcn = ngx_queue_data(q, ngx_http_file_cache_node_t, queue);
        wait = fcn->expire - now;
        if (wait > 0) {
            wait = wait > 10 ? 10 : wait;
            break;
        }
        ngx_log_debug6(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,
                       "http file cache expire: #%d %d %02xd%02xd%02xd%02xd",
                       fcn->count, fcn->exists,
                       fcn->key[0], fcn->key[1], fcn->key[2], fcn->key[3]);
        if (fcn->count) {
            p = ngx_hex_dump(key, (u_char *) &fcn->node.key,
                             sizeof(ngx_rbtree_key_t));
            len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t);
            (void) ngx_hex_dump(p, fcn->key, len);
            ngx_queue_remove(q);
            ngx_rbtree_delete(cache->rbtree, &fcn->node);
            ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
                       "ignore long locked inactive cache entry %*s, count:%d",
                       2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count);
            continue;
        }
        if (!fcn->exists) {
            ngx_queue_remove(q);
            ngx_rbtree_delete(cache->rbtree, &fcn->node);
            ngx_slab_free_locked(cache->shpool, fcn);
            continue;
        }
        ngx_http_file_cache_delete(cache, q, name);
    }
    ngx_shmtx_unlock(&cache->shpool->mutex);
    ngx_free(name);
    return wait;
}
['static time_t\nngx_http_file_cache_expire(ngx_http_file_cache_t *cache)\n{\n    u_char                      *name, *p;\n    size_t                       len;\n    time_t                       now, wait;\n    ngx_path_t                  *path;\n    ngx_queue_t                 *q;\n    ngx_http_file_cache_node_t  *fcn;\n    u_char                       key[2 * NGX_HTTP_CACHE_KEY_LEN];\n    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,\n                   "http file cache expire");\n    path = cache->path;\n    len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN;\n    name = ngx_alloc(len + 1, ngx_cycle->log);\n    if (name == NULL) {\n        return 10;\n    }\n    ngx_memcpy(name, path->name.data, path->name.len);\n    now = ngx_time();\n    ngx_shmtx_lock(&cache->shpool->mutex);\n    for ( ;; ) {\n        if (ngx_queue_empty(cache->queue)) {\n            wait = 10;\n            break;\n        }\n        q = ngx_queue_last(cache->queue);\n        fcn = ngx_queue_data(q, ngx_http_file_cache_node_t, queue);\n        wait = fcn->expire - now;\n        if (wait > 0) {\n            wait = wait > 10 ? 10 : wait;\n            break;\n        }\n        ngx_log_debug6(NGX_LOG_DEBUG_HTTP, ngx_cycle->log, 0,\n                       "http file cache expire: #%d %d %02xd%02xd%02xd%02xd",\n                       fcn->count, fcn->exists,\n                       fcn->key[0], fcn->key[1], fcn->key[2], fcn->key[3]);\n        if (fcn->count) {\n            p = ngx_hex_dump(key, (u_char *) &fcn->node.key,\n                             sizeof(ngx_rbtree_key_t));\n            len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t);\n            (void) ngx_hex_dump(p, fcn->key, len);\n            ngx_queue_remove(q);\n            ngx_rbtree_delete(cache->rbtree, &fcn->node);\n            ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,\n                       "ignore long locked inactive cache entry %*s, count:%d",\n                       2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count);\n            continue;\n        }\n        if (!fcn->exists) {\n            ngx_queue_remove(q);\n            ngx_rbtree_delete(cache->rbtree, &fcn->node);\n            ngx_slab_free_locked(cache->shpool, fcn);\n            continue;\n        }\n        ngx_http_file_cache_delete(cache, q, name);\n    }\n    ngx_shmtx_unlock(&cache->shpool->mutex);\n    ngx_free(name);\n    return wait;\n}']