Insert a redundant return, as scan-build fails to notice that die() never returns.

svn path=/trunk/netsurf/; revision=7629
This commit is contained in:
John Mark Bell 2009-05-29 22:56:09 +00:00
parent 6770f7b9f9
commit 9b4a382d68

View File

@ -281,6 +281,7 @@ void ro_gui_configure_register(const char *window,
if (!tool) {
LOG(("Insufficient memory for calloc()"));
die("Insufficient memory");
return; /* For the benefit of scan-build */
}
tool->name = window;
tool->translated[0] = '\0';