From 7dd32f153647d6eec797e40699161551550895a2 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Mon, 15 May 2023 23:18:07 +0900 Subject: [PATCH] permission: remove unused function declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RestrictAccess() is declared, but it's not used. PR-URL: https://github.com/nodejs/node/pull/47957 Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: Yagiz Nizipli Reviewed-By: Rafael Gonzaga Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: Khaidi Chu --- src/permission/fs_permission.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/permission/fs_permission.h b/src/permission/fs_permission.h index 7ac987c7118ca1..8d735a9095502e 100644 --- a/src/permission/fs_permission.h +++ b/src/permission/fs_permission.h @@ -6,7 +6,6 @@ #include "v8.h" #include -#include #include "permission/permission_base.h" #include "util.h" @@ -131,8 +130,6 @@ class FSPermission final : public PermissionBase { private: void GrantAccess(PermissionScope scope, const std::string& param); - void RestrictAccess(PermissionScope scope, - const std::vector& params); // fs granted on startup RadixTree granted_in_fs_; RadixTree granted_out_fs_;