From bccfd124b069a3d4396bd8dba1bf2350383dea53 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 PR-URL: https://github.com/nodejs/node/pull/30267 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: David Carlier Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil Reviewed-By: Luigi Pinca --- 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);