mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 16:29:36 +03:00
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:
parent
6770f7b9f9
commit
9b4a382d68
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user