From a268252629a0f6b31e5f0189454144676dd7ffaa Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 26 Sep 2018 21:32:35 +0100 Subject: gcc on openbsd is unable to reason about res variable usage and generates bogus warning --- content/handlers/html/html_interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/handlers') diff --git a/content/handlers/html/html_interaction.c b/content/handlers/html/html_interaction.c index 04d14aa81..da4c67c40 100644 --- a/content/handlers/html/html_interaction.c +++ b/content/handlers/html/html_interaction.c @@ -389,7 +389,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw, BROWSER_MOUSE_CLICK_1 | BROWSER_MOUSE_CLICK_2 | BROWSER_MOUSE_DRAG_1 | BROWSER_MOUSE_DRAG_2); - nserror res; + nserror res = NSERROR_OK; if (drag_type != DRAGGING_NONE && !mouse && html->visible_select_menu != NULL) { -- cgit v1.2.3