Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 13bc548

Browse filesBrowse files
deokjinkimMoLow
authored andcommitted
permission: remove unused function declaration
RestrictAccess() is declared, but it's not used. PR-URL: #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>
1 parent 2a35462 commit 13bc548
Copy full SHA for 13bc548

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Collapse file

‎src/permission/fs_permission.h‎

Copy file name to clipboardExpand all lines: src/permission/fs_permission.h
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.