loplugin:oncevar

Change-Id: I9d6902d86c9b72ad28a025374077ef90a350e598
This commit is contained in:
Stephan Bergmann
2017-08-07 08:07:42 +02:00
parent e0d3424973
commit e9febbc320
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ static OSStatus hotKeyEventHandler(EventHandlerCallRef, EventRef, void*);
if (eventHandlerRef) return;
EventTypeSpec eventSpec[2] = {
EventTypeSpec const eventSpec[2] = {
{ kEventClassKeyboard, kEventHotKeyPressed },
{ kEventClassKeyboard, kEventHotKeyReleased }
};

View File

@@ -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)