summaryrefslogtreecommitdiff
path: root/render/html_forms.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-10 23:00:32 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-10 23:00:32 +0100
commit0210ef066b75da6ff2a91b5de9ad6d3f583548f2 (patch)
treeffd2a51466bc888c242d40ed7ebd2dcf030139a5 /render/html_forms.c
parent69ad5db2d111b2af153ad63926ae5549c5dadb77 (diff)
parentd6b293001d67e71e751b1d54e4a9dc8529cd29d6 (diff)
downloadnetsurf-0210ef066b75da6ff2a91b5de9ad6d3f583548f2.tar.gz
netsurf-0210ef066b75da6ff2a91b5de9ad6d3f583548f2.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/palette-mapped-plotters
Diffstat (limited to 'render/html_forms.c')
-rw-r--r--render/html_forms.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/render/html_forms.c b/render/html_forms.c
index 9ae8138d6..fc2bcaf8a 100644
--- a/render/html_forms.c
+++ b/render/html_forms.c
@@ -468,9 +468,6 @@ struct form_control *html_forms_get_control_for_node(struct form *forms, dom_nod
dom_exception err;
dom_string *ds_name = NULL;
- if (forms == NULL)
- return NULL;
-
/* Step one, see if we already have a control */
for (f = forms; f != NULL; f = f->prev) {
for (ctl = f->controls; ctl != NULL; ctl = ctl->next) {