Skip to content

Commit 5befef2

Browse files
committed
permission: remove unused function declaration
RestrictAccess() is declared, but it's not used.
1 parent ea8fd2d commit 5befef2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/permission/fs_permission.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include "v8.h"
77

88
#include <unordered_map>
9-
#include <vector>
109
#include "permission/permission_base.h"
1110
#include "util.h"
1211

@@ -131,8 +130,6 @@ class FSPermission final : public PermissionBase {
131130

132131
private:
133132
void GrantAccess(PermissionScope scope, const std::string& param);
134-
void RestrictAccess(PermissionScope scope,
135-
const std::vector<std::string>& params);
136133
// fs granted on startup
137134
RadixTree granted_in_fs_;
138135
RadixTree granted_out_fs_;

0 commit comments

Comments
 (0)