Changeset 559 for trunk/Cocoa


Ignore:
Timestamp:
07/18/09 06:00:17 (15 years ago)
Author:
Nicholas Riley
Message:

NJRHotKeyManager.m: Remove unused "err" variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/NJRHotKeyManager.m

    r355 r559  
    197197    if (shortcutsEnabled && !(shortcut->isRegistered)) {
    198198        EventHotKeyID keyID;
    199         OSStatus err;
    200199
    201200        keyID.signature = kHotKeyManagerSignature;
    202201        keyID.id = (unsigned long)shortcut;
    203         if ( (err = RegisterEventHotKey([hotKey keyCode], [hotKey modifiers], keyID, GetEventDispatcherTarget(), 0, &shortcut->hotKeyRef)) != noErr)
     202        if (RegisterEventHotKey([hotKey keyCode], [hotKey modifiers], keyID, GetEventDispatcherTarget(), 0, &shortcut->hotKeyRef) != noErr)
    204203            return NO;
    205204
Note: See TracChangeset for help on using the changeset viewer.