fix unused variable warning in framebuffer Message loading

This commit is contained in:
Vincent Sanders 2015-06-22 20:56:06 +01:00
parent 354de433e9
commit 3160f9fd89

View File

@ -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");
}