mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-25 15:59:36 +03:00
remove unecessary user warning
This commit is contained in:
parent
fca421e204
commit
7de3100624
@ -1101,7 +1101,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
|
||||
}
|
||||
|
||||
if (res != NSERROR_OK) {
|
||||
guit->misc->warning(messages_get_errorcode(res), NULL);
|
||||
NSLOG(netsurf, ERROR, "%s", messages_get_errorcode(res));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -87,13 +87,11 @@ search_create_context(struct content *c, content_type type, void *gui_data)
|
||||
|
||||
context = malloc(sizeof(struct search_context));
|
||||
if (context == NULL) {
|
||||
guit->misc->warning("NoMemory", 0);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
search_head = malloc(sizeof(struct list_entry));
|
||||
if (search_head == NULL) {
|
||||
guit->misc->warning("NoMemory", 0);
|
||||
free(context);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user