From 20927938681c14e4f812879973f8e677c08d77b0 Mon Sep 17 00:00:00 2001 From: Oliver Buchtala Date: Sat, 8 Sep 2012 01:14:14 +0000 Subject: [PATCH] Make v8 shell more quiet. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13820 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Tools/javascript/v8_shell.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/javascript/v8_shell.cxx b/Tools/javascript/v8_shell.cxx index 6c84fe758..27923dd86 100755 --- a/Tools/javascript/v8_shell.cxx +++ b/Tools/javascript/v8_shell.cxx @@ -181,9 +181,9 @@ bool V8Shell::ExecuteScript(const std::string& source, const std::string& name) if (!result->IsUndefined()) { // If all went well and the result wasn't undefined then print // the returned value. - v8::String::Utf8Value str(result); - const char* cstr = V8Shell::ToCString(str); - printf("%s\n", cstr); + //v8::String::Utf8Value str(result); + //const char* cstr = V8Shell::ToCString(str); + //printf("%s\n", cstr); } return true; }