mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
about_protocol_handler: Don't define len if CONFIG_SMALL.
It is not used if CONFIG_SMALL is defined, and GCC complained about this. With -Werror added by --enable-debug, the whole build failed.
This commit is contained in:
parent
a46afea662
commit
3988ab97cc
@ -94,13 +94,12 @@ about_protocol_handler(struct connection *conn)
|
||||
|
||||
/* Only do this the first time */
|
||||
if (cached && !cached->content_type) {
|
||||
int len = 0;
|
||||
|
||||
#ifndef CONFIG_SMALL
|
||||
{
|
||||
const struct about_page *page = about_pages;
|
||||
|
||||
for (; page->name; page++) {
|
||||
int len;
|
||||
unsigned char *str;
|
||||
|
||||
if (strcmp(conn->uri->data, page->name))
|
||||
|
Loading…
Reference in New Issue
Block a user