diff options
author | UbitUmarov | 2017-04-30 14:31:46 +0100 |
---|---|---|
committer | UbitUmarov | 2017-04-30 14:31:46 +0100 |
commit | b67904a6510d4827e8219a3534b8bc07a5115ec3 (patch) | |
tree | 4c26a63e10248d99597fc85111e032705f812e13 /OpenSim/Framework | |
parent | Add a missing viewer-relevant message to the perms module (diff) | |
download | opensim-SC_OLD-b67904a6510d4827e8219a3534b8bc07a5115ec3.zip opensim-SC_OLD-b67904a6510d4827e8219a3534b8bc07a5115ec3.tar.gz opensim-SC_OLD-b67904a6510d4827e8219a3534b8bc07a5115ec3.tar.bz2 opensim-SC_OLD-b67904a6510d4827e8219a3534b8bc07a5115ec3.tar.xz |
remove a redundant operation
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/PermissionsUtil.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Framework/PermissionsUtil.cs b/OpenSim/Framework/PermissionsUtil.cs index 39ccaba..aba8320 100644 --- a/OpenSim/Framework/PermissionsUtil.cs +++ b/OpenSim/Framework/PermissionsUtil.cs | |||
@@ -72,7 +72,6 @@ namespace OpenSim.Framework | |||
72 | return; | 72 | return; |
73 | 73 | ||
74 | folded <<= (int)PermissionMask.FoldingShift; | 74 | folded <<= (int)PermissionMask.FoldingShift; |
75 | folded &= (uint)PermissionMask.UnfoldedMask; // not really necessary but well | ||
76 | folded |= ~(uint)PermissionMask.UnfoldedMask; | 75 | folded |= ~(uint)PermissionMask.UnfoldedMask; |
77 | 76 | ||
78 | uint tmp = targetPerms; | 77 | uint tmp = targetPerms; |
@@ -88,7 +87,6 @@ namespace OpenSim.Framework | |||
88 | return; | 87 | return; |
89 | 88 | ||
90 | folded <<= (int)PermissionMask.FoldingShift; | 89 | folded <<= (int)PermissionMask.FoldingShift; |
91 | folded &= (uint)PermissionMask.UnfoldedMask; // not really necessary but well | ||
92 | folded |= (~(uint)PermissionMask.UnfoldedMask | (uint)PermissionMask.Modify); | 90 | folded |= (~(uint)PermissionMask.UnfoldedMask | (uint)PermissionMask.Modify); |
93 | 91 | ||
94 | uint tmp = target; | 92 | uint tmp = target; |