mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-28 20:34:21 +03:00
gcc on openbsd is unable to reason about res variable usage and generates bogus warning
This commit is contained in:
parent
5c96acd6f1
commit
a268252629
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user