Fix duplicate variable declaration

This commit is contained in:
Joshua Gigg 2020-09-10 20:47:56 +01:00 committed by GitHub
parent c475f5d8ab
commit 32e7e51652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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;