Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request civetweb#1082 from sbruceheart/patch-1
Browse files Browse the repository at this point in the history
Remove unused variables mlen, uri_len
  • Loading branch information
bel2125 authored Jul 9, 2022
2 parents 4447b65 + dc07fc5 commit 575a848
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/civetweb.c
Original file line number Diff line number Diff line change
Expand Up @@ -14618,7 +14618,7 @@ handle_request(struct mg_connection *conn)
{
struct mg_request_info *ri = &conn->request_info;
char path[UTF8_PATH_MAX];
int uri_len, ssl_index;
int ssl_index;
int is_found = 0, is_script_resource = 0, is_websocket_request = 0,
is_put_or_delete_request = 0, is_callback_resource = 0,
is_template_text_file = 0, is_webdav_request = 0;
Expand Down Expand Up @@ -14671,7 +14671,6 @@ handle_request(struct mg_connection *conn)
}
return;
}
uri_len = (int)strlen(ri->local_uri);

/* 1.3. decode url (if config says so) */
if (should_decode_url(conn)) {
Expand Down

0 comments on commit 575a848

Please sign in to comment.