mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
fix unused variable warning in framebuffer Message loading
This commit is contained in:
parent
354de433e9
commit
3160f9fd89
@ -2110,10 +2110,13 @@ main(int argc, char** argv)
|
||||
/* message init */
|
||||
messages = filepath_find(respaths, "Messages");
|
||||
ret = messages_add_from_file(messages);
|
||||
free(messages);
|
||||
if (ret != NSERROR_OK) {
|
||||
fprintf(stderr, "Message translations failed to load\n");
|
||||
}
|
||||
|
||||
/* common initialisation */
|
||||
ret = netsurf_init(NULL);
|
||||
free(messages);
|
||||
if (ret != NSERROR_OK) {
|
||||
die("NetSurf failed to initialise");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user