Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip committed Jul 21, 2019
1 parent 4fcfbda commit 50dabc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macrogaura/macrogaura.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ int handleUsb(Messages *pMessages) {
CFSetRef deviceCFSetRef= NULL;

// create a IO HID Manager reference
tIOHIDManagerRef = IOHIDManagerCreate( kCFAllocatorDefault, kIOHIDOptionsTypeNone );
tIOHIDManagerRef = IOHIDManagerCreate(kCFAllocatorDefault, kIOHIDOptionsTypeNone);
if (!tIOHIDManagerRef) goto exit;

// set the HID device matching dictionary
Expand Down Expand Up @@ -480,7 +480,7 @@ int handleUsb(Messages *pMessages) {
exit:
if (deviceCFSetRef) CFRelease(deviceCFSetRef);
if (tIOHIDDeviceRefs) free(tIOHIDDeviceRefs);
if (tIOHIDManagerRef) CFRelease( tIOHIDManagerRef);
if (tIOHIDManagerRef) CFRelease(tIOHIDManagerRef);
return 0;
}

Expand Down

0 comments on commit 50dabc9

Please sign in to comment.