From 711774c1f0ace2ee9cf2d5b0024398971203d65e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 4 Nov 2009 02:18:31 +0100 Subject: [PATCH] Remove unreachable lines --- src/node_file.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node_file.cc b/src/node_file.cc index cac71db..f4cda23 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -230,9 +230,6 @@ static Handle Rename(const Arguments& args) { String::Utf8Value new_path(args[1]->ToString()); return scope.Close(EIOPromise::Rename(*path, *new_path)); - Promise *promise = EIOPromise::Create(); - - return scope.Close(promise->Handle()); } static Handle Unlink(const Arguments& args) { -- 2.7.4