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 <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>
  • Loading branch information
deokjinkim authored and targos committed May 15, 2023
1 parent 786a1c5 commit 7dd32f1
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 7dd32f1

Please sign in to comment.