diff options
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r-- | desktop/netsurf.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 86ea8efb9..a3b106711 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -49,16 +49,6 @@ bool netsurf_quit = false; bool verbose_log = false; -static void *netsurf_lwc_alloc(void *ptr, size_t len, void *pw) -{ - if (len == 0) { - free(ptr); - return NULL; - } - - return realloc(ptr, len); -} - static void netsurf_lwc_iterator(lwc_string *str, void *pw) { LOG(("%.*s", (int) lwc_string_length(str), lwc_string_data(str))); @@ -153,8 +143,6 @@ nserror netsurf_init(int *pargc, messages_load(messages); - lwc_initialise(netsurf_lwc_alloc, NULL, 0); - url_init(); setlocale(LC_ALL, "C"); |