From 4485cf1fea3fb2104f22c7a7304e253c2b86227a Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 5 Nov 2019 23:40:42 +0800 Subject: [PATCH] src: remove unused variable in node_dir.cc --- src/node_dir.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_dir.cc b/src/node_dir.cc index ffef27f4521403..9d145131beb94c 100644 --- a/src/node_dir.cc +++ b/src/node_dir.cc @@ -296,7 +296,6 @@ void AfterOpenDir(uv_fs_t* req) { } Environment* env = req_wrap->env(); - Local error; uv_dir_t* dir = static_cast(req->ptr); DirHandle* handle = DirHandle::New(env, dir);