summaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-07-28 16:40:09 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-08-07 16:50:35 +0200
commit1e2f9219883452ef7da37c3c984b3e3d2939656b (patch)
treed1414af1325ab9f90e37305800e3a748d90ddf9d /src/form.cc
parent0220c850a043af46385d6cd6cf4ffa9ceb5696e3 (diff)
Fix pedantic warnings
Reviewed-by: dogma
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index aeaa35bd..8234c0a3 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -1720,9 +1720,8 @@ void DilloHtmlInput::activate(DilloHtmlForm *form, int num_entry_fields,
case DILLO_HTML_INPUT_PASSWORD:
if (!(prefs.enterpress_forces_submit || num_entry_fields == 1)) {
break;
- } else {
- /* fall through */
}
+ /* fallthrough */
case DILLO_HTML_INPUT_SUBMIT:
case DILLO_HTML_INPUT_BUTTON_SUBMIT:
case DILLO_HTML_INPUT_IMAGE: