loplugin:oncevar
Change-Id: I9d6902d86c9b72ad28a025374077ef90a350e598
This commit is contained in:
@@ -145,7 +145,7 @@ static OSStatus hotKeyEventHandler(EventHandlerCallRef, EventRef, void*);
|
||||
|
||||
if (eventHandlerRef) return;
|
||||
|
||||
EventTypeSpec eventSpec[2] = {
|
||||
EventTypeSpec const eventSpec[2] = {
|
||||
{ kEventClassKeyboard, kEventHotKeyPressed },
|
||||
{ kEventClassKeyboard, kEventHotKeyReleased }
|
||||
};
|
||||
|
@@ -346,7 +346,7 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
|
||||
|
||||
HIDRemoteControlDevice* remote = (HIDRemoteControlDevice*)target;
|
||||
IOHIDEventStruct event;
|
||||
AbsoluteTime zeroTime = {0,0};
|
||||
AbsoluteTime const zeroTime = {0,0};
|
||||
NSMutableString* cookieString = [NSMutableString string];
|
||||
SInt32 sumOfValues = 0;
|
||||
while (result == kIOReturnSuccess)
|
||||
|
Reference in New Issue
Block a user