From b20c343a7aa772865f0cc4dd76d4c1984c38b33d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 11 Feb 2010 21:55:08 -0800 Subject: [PATCH] Fix whitespace and warnings in node.cc --- src/node.cc | 55 +++++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/src/node.cc b/src/node.cc index 77b9700da5..6ae4b3d598 100644 --- a/src/node.cc +++ b/src/node.cc @@ -318,15 +318,15 @@ const char* ToCString(const v8::String::Utf8Value& value) { return *value ? *value : ""; } -static void ReportException(TryCatch *try_catch, bool show_line = false) { - Handle message = try_catch->Message(); +static void ReportException(TryCatch &try_catch, bool show_line = false) { + Handle message = try_catch.Message(); if (message.IsEmpty()) { fprintf(stderr, "Error: (no message)\n"); fflush(stderr); return; } - Handle error = try_catch->Exception(); + Handle error = try_catch.Exception(); Handle stack; if (error->IsObject()) { @@ -373,13 +373,13 @@ Local ExecuteString(Local source, Local filename) { Local