summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
Diffstat (limited to 'table')
-rw-r--r--table/policy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/policy.go b/table/policy.go
index 20ae16cd..2e0550c6 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -2489,7 +2489,7 @@ func (lhs *Policy) Add(rhs *Policy) error {
}
func (lhs *Policy) Remove(rhs *Policy) error {
- stmts := make([]*Statement, 0, len(lhs.Statements)-len(rhs.Statements))
+ stmts := make([]*Statement, 0, len(lhs.Statements))
for _, x := range lhs.Statements {
found := false
for _, y := range rhs.Statements {