mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +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)
|
int x, int y)
|
||||||
{
|
{
|
||||||
html_content *html = (html_content *)c;
|
html_content *html = (html_content *)c;
|
||||||
nserror res;
|
nserror res = NSERROR_OK;
|
||||||
|
|
||||||
/* handle open select menu */
|
/* handle open select menu */
|
||||||
if (html->visible_select_menu != NULL) {
|
if (html->visible_select_menu != NULL) {
|
||||||
@ -1493,7 +1493,7 @@ html_mouse_action(struct content *c,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case HTML_DRAG_NONE:
|
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;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user