Squash warnings

This commit is contained in:
John-Mark Bell 2012-07-15 01:02:33 +01:00
parent bd244b121a
commit 1f36e48372
2 changed files with 3 additions and 2 deletions

View File

@ -2050,7 +2050,8 @@ static bool html_convert(struct content *c)
}
/* Retrieve forms from parser */
htmlc->forms = html_forms_get_forms(htmlc->encoding, htmlc->document);
htmlc->forms = html_forms_get_forms(htmlc->encoding,
(dom_html_document *) htmlc->document);
for (f = htmlc->forms; f != NULL; f = f->prev) {
char *action;
url_func_result res;

View File

@ -258,7 +258,7 @@ out:
static struct form_control *
parse_input_element(struct form *forms, dom_html_input_element *input)
{
struct form_control *control;
struct form_control *control = NULL;
dom_html_form_element *form = NULL;
dom_string *ds_type = NULL;
dom_string *ds_name = NULL;