From 625a2b05af9096c17a705df8b8681db95e862ee3 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 12:02:10 +0200 Subject: [PATCH] chat(): Remove pointless NULL-pointer check --- jcc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/jcc.c b/jcc.c index e872a39c..5f1a43bb 100644 --- a/jcc.c +++ b/jcc.c @@ -3665,12 +3665,6 @@ static void chat(struct client_state *csp) /* decide how to route the HTTP request */ fwd = forward_url(csp, http); - if (NULL == fwd) - { - log_error(LOG_LEVEL_FATAL, "gateway spec is NULL!?!? This can't happen!"); - /* Never get here - LOG_LEVEL_FATAL causes program exit */ - return; - } #ifdef FEATURE_HTTPS_INSPECTION /* -- 2.39.2