From 67b777389bbb79b555d1b0db851212a7956f99a4 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Mon, 19 Dec 2016 20:36:58 +0000 Subject: [PATCH] Silence compiler warning: "686: warning: 'ok' may be used uninitialized in this function" This is a false positive, because the value of "ok" will only be used if stapling_get_cached_response() sets "rsp" to non-NULL in which case it will always have set "ok". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1775173 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_util_stapling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssl/ssl_util_stapling.c b/modules/ssl/ssl_util_stapling.c index 718a291793..c3e2cfa657 100644 --- a/modules/ssl/ssl_util_stapling.c +++ b/modules/ssl/ssl_util_stapling.c @@ -690,7 +690,7 @@ static int get_and_check_cached_response(server_rec *s, modssl_ctx_t *mctx, OCSP_RESPONSE **rsp, BOOL *pok, certinfo *cinf, apr_pool_t *p) { - BOOL ok; + BOOL ok = FALSE; int rv; AP_DEBUG_ASSERT(*rsp == NULL); -- 2.50.1