mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-21 22:11:22 +03:00
res variable could possibly be used without being set
This commit is contained in:
parent
cea268ddc6
commit
07d09bbdfc
@ -1465,7 +1465,7 @@ html_mouse_action(struct content *c,
|
||||
int x, int y)
|
||||
{
|
||||
html_content *html = (html_content *)c;
|
||||
nserror res;
|
||||
nserror res = NSERROR_OK;
|
||||
|
||||
/* handle open select menu */
|
||||
if (html->visible_select_menu != NULL) {
|
||||
@ -1493,7 +1493,7 @@ html_mouse_action(struct content *c,
|
||||
break;
|
||||
|
||||
case HTML_DRAG_NONE:
|
||||
res = mouse_action_drag_none(html, bw, mouse, x, y);
|
||||
res = mouse_action_drag_none(html, bw, mouse, x, y);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user