From 80e98bdc5739c35da05d9a5b851b4aa3bc50d3a7 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 11 Aug 2003 19:33:49 +0000 Subject: [PATCH] Compiler squawked because a typed function had no return, create a dummy value to return. --- src/Scripting/scriptmgr.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Scripting/scriptmgr.cxx b/src/Scripting/scriptmgr.cxx index a9b18424c..0c92a8982 100644 --- a/src/Scripting/scriptmgr.cxx +++ b/src/Scripting/scriptmgr.cxx @@ -43,6 +43,10 @@ do_print (int argc, pslValue * argv, pslProgram * p) break; } } + + pslValue result; + result.set(); + return result; } static pslValue