From e3d8bf0d68660d4237193c5107a2ec075fc00744 Mon Sep 17 00:00:00 2001 From: Logan Johnson Date: Fri, 7 Mar 2003 23:33:12 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4472 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/Modules/ruby.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SWIG/Source/Modules/ruby.cxx b/SWIG/Source/Modules/ruby.cxx index b896b79c6..6953acb3d 100644 --- a/SWIG/Source/Modules/ruby.cxx +++ b/SWIG/Source/Modules/ruby.cxx @@ -875,7 +875,7 @@ public: /* Error handling code */ Printf(f->code,"fail:\n"); Printv(f->code,cleanup,NIL); - /* Anything else to do here? */ + Printv(f->code,"return Qnil;\n",NIL); Printf(f->code,"}\n"); /* Substitute the cleanup code */