From a5315e115907bfd67efec7697e560535e048a8da Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Mon, 7 Feb 2022 21:50:13 +0000 Subject: [PATCH] gcc warning fix warning: control reaches end of non-void function [-Wreturn-type] --- Source/Swig/misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Swig/misc.c b/Source/Swig/misc.c index ac7392d9d..d92d4e410 100644 --- a/Source/Swig/misc.c +++ b/Source/Swig/misc.c @@ -1163,6 +1163,7 @@ int Swig_scopename_check(const String *s) { String *Swig_string_command(String *s) { Swig_error("SWIG", Getline(s), "Command encoder no longer supported - use regex encoder instead.\n"); SWIG_exit(EXIT_FAILURE); + return 0; } /* -----------------------------------------------------------------------------