mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley
This commit is contained in:
parent
0b8ec94d6d
commit
984ba95807
@ -2206,20 +2206,16 @@ XPCWrappedNative::CallMethod(XPCCallContext& ccx,
|
||||
|
||||
// set up the method index and do the security check if needed
|
||||
|
||||
uint32_t secFlag;
|
||||
uint32_t secAction;
|
||||
|
||||
switch (mode) {
|
||||
case CALL_METHOD:
|
||||
secFlag = nsIXPCSecurityManager::HOOK_CALL_METHOD;
|
||||
secAction = nsIXPCSecurityManager::ACCESS_CALL_METHOD;
|
||||
break;
|
||||
case CALL_GETTER:
|
||||
secFlag = nsIXPCSecurityManager::HOOK_GET_PROPERTY;
|
||||
secAction = nsIXPCSecurityManager::ACCESS_GET_PROPERTY;
|
||||
break;
|
||||
case CALL_SETTER:
|
||||
secFlag = nsIXPCSecurityManager::HOOK_SET_PROPERTY;
|
||||
secAction = nsIXPCSecurityManager::ACCESS_SET_PROPERTY;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user