Fix all compiler warnings.

- Many times we need help the compiler to reason about variable type or
define.
This commit is contained in:
René van Dorst
2026-08-30 21:41:30 +02:00
parent aba69cd640
commit f187261085
8 changed files with 56 additions and 38 deletions
+7 -2
View File
@@ -772,8 +772,13 @@ void httpd_appcall(void)
goto do_send;
}
if (is_word(p, "GET"))
dbg_string("GET request ");
// We only expect a GET request here.
if (!is_word(p, "GET")) {
send_bad_request();
goto do_send;
}
dbg_string("GET request ");
p += 4;
scan_header(p);
__xdata uint8_t *q = p;