Fix shadowed declaration.

This commit is contained in:
Relintai 2022-07-01 22:17:35 +02:00
parent ead4b0594b
commit 25323a92b7

View File

@ -247,7 +247,7 @@ void HTTPServerSimple::send_file(const String &p_file_path) {
String req_ext = p_file_path.get_extension();
if (!mimes.has(req_ext)) {
const String ctype = mimes[req_ext];
ctype = mimes[req_ext];
} else {
ctype = "text/plain";
}