From 9b4a382d687dd12e9c7104d406c6ee157d69542b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 29 May 2009 22:56:09 +0000 Subject: Insert a redundant return, as scan-build fails to notice that die() never returns. svn path=/trunk/netsurf/; revision=7629 --- riscos/configure.c | 1 + 1 file changed, 1 insertion(+) (limited to 'riscos') diff --git a/riscos/configure.c b/riscos/configure.c index c56811cfd..99c69e126 100644 --- a/riscos/configure.c +++ b/riscos/configure.c @@ -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'; -- cgit v1.2.3