Skip to content

Commit

Permalink
permission: remove unused function declaration
Browse files Browse the repository at this point in the history
RestrictAccess() is declared, but it's not used.
  • Loading branch information
deokjinkim committed May 11, 2023
1 parent ea8fd2d commit 5befef2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/permission/fs_permission.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "v8.h"

#include <unordered_map>
#include <vector>
#include "permission/permission_base.h"
#include "util.h"

Expand Down Expand Up @@ -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_;
Expand Down

0 comments on commit 5befef2

Please sign in to comment.