From 32e7e516527f718a1d1da0260241ca7f945d026c Mon Sep 17 00:00:00 2001 From: Joshua Gigg Date: Thu, 10 Sep 2020 20:47:56 +0100 Subject: [PATCH] Fix duplicate variable declaration --- src/mod/applications/mod_httapi/mod_httapi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index c424597495..56d9818dd4 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -2803,9 +2803,6 @@ static switch_status_t locate_url_file(http_file_context_t *context, const char } if (!context->url_params || !switch_true(switch_event_get_header(context->url_params, "nohead"))) { - const char *ct = NULL; - const char *newext = NULL; - if ((status = fetch_cache_data(context, url, &headers, NULL, NULL)) != SWITCH_STATUS_SUCCESS) { if (status == SWITCH_STATUS_NOTFOUND) { unreachable = 2;