diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-11-06 23:26:48 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-11-06 23:26:48 +0000 |
commit | 7de3100624bf77980e92f8e507a209dfe34a8309 (patch) | |
tree | 27f14c293e11dd421ecc4c4a8e57b94b4e747b22 /content | |
parent | fca421e2047a55f3cf575c92943c1116ec58da3c (diff) | |
download | netsurf-7de3100624bf77980e92f8e507a209dfe34a8309.tar.gz netsurf-7de3100624bf77980e92f8e507a209dfe34a8309.tar.bz2 |
remove unecessary user warning
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/html/html_interaction.c | 2 | ||||
-rw-r--r-- | content/handlers/html/search.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/content/handlers/html/html_interaction.c b/content/handlers/html/html_interaction.c index 1eedf1b8f..330dd24d0 100644 --- a/content/handlers/html/html_interaction.c +++ b/content/handlers/html/html_interaction.c @@ -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)); } } diff --git a/content/handlers/html/search.c b/content/handlers/html/search.c index 3599951a7..1e2fa04f7 100644 --- a/content/handlers/html/search.c +++ b/content/handlers/html/search.c @@ -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; } |