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.

PR-URL: #47957
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Khaidi Chu <[email protected]>
  • Loading branch information
deokjinkim authored and MoLow committed Jul 6, 2023
1 parent 2a35462 commit 13bc548
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 13bc548

Please sign in to comment.