mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
apps/http: httpd: Fix unused parameter warning if !LWIP_HTTPD_SUPPORT_V09
Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
parent
e19d908f0e
commit
600527dde7
@ -2290,6 +2290,9 @@ static err_t
|
||||
http_init_file(struct http_state *hs, struct fs_file *file, int is_09, const char *uri,
|
||||
u8_t tag_check, char *params)
|
||||
{
|
||||
#if !LWIP_HTTPD_SUPPORT_V09
|
||||
LWIP_UNUSED_ARG(is_09);
|
||||
#endif
|
||||
if (file != NULL) {
|
||||
/* file opened, initialise struct http_state */
|
||||
#if !LWIP_HTTPD_DYNAMIC_FILE_READ
|
||||
|
Loading…
Reference in New Issue
Block a user