summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeokjin Kim <deokjin81.kim@gmail.com>2023-05-15 23:18:07 +0900
committerGitHub <noreply@github.com>2023-05-15 14:18:07 +0000
commit8cbc307c44865703ae6976de94ad3470d5f71518 (patch)
treed47b1fbc39becccac823ca161c4d30da1757606f
parent93a19961a6a824d4cd42553967ccac3124c38727 (diff)
downloadnode-new-8cbc307c44865703ae6976de94ad3470d5f71518.tar.gz
permission: remove unused function declaration
RestrictAccess() is declared, but it's not used. PR-URL: https://github.com/nodejs/node/pull/47957 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe>
-rw-r--r--src/permission/fs_permission.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/permission/fs_permission.h b/src/permission/fs_permission.h
index 7ac987c711..8d735a9095 100644
--- a/src/permission/fs_permission.h
+++ b/src/permission/fs_permission.h
@@ -6,7 +6,6 @@
#include "v8.h"
#include <unordered_map>
-#include <vector>
#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<std::string>& params);
// fs granted on startup
RadixTree granted_in_fs_;
RadixTree granted_out_fs_;