diff --git a/SWIG/Source/Swig/typemap.c b/SWIG/Source/Swig/typemap.c index a47e14b95..9001b4b28 100644 --- a/SWIG/Source/Swig/typemap.c +++ b/SWIG/Source/Swig/typemap.c @@ -700,6 +700,7 @@ int check_locals(ParmList *p, const char *s) { if (strstr(c,s)) return 1; p = nextSibling(p); } + return 0; } static