Remove unreachable lines

pull/22966/head
Ryan Dahl 2009-11-04 02:18:31 +01:00
parent d3de943eb1
commit 711774c1f0
1 changed files with 0 additions and 3 deletions

View File

@ -230,9 +230,6 @@ static Handle<Value> 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<Value> Unlink(const Arguments& args) {