Kaydet (Commit) e9febbc3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:oncevar

Change-Id: I9d6902d86c9b72ad28a025374077ef90a350e598
üst e0d34249
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment