Ignore:
Timestamp:
Oct 11, 2009, 1:11:52 PM (13 years ago)
Author:
livings124
Message:

add a couple of asserts just for the hell of it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9286 r9291  
    18761876            break;
    18771877        default:
     1878            NSAssert1(NO, @"Unknown sort tag received: %d", [sender tag]);
    18781879            return;
    18791880    }
     
    22852286            break;
    22862287        default:
     2288            NSAssert1(NO, @"Unknown status label tag received: %d", [sender tag]);
    22872289            return;
    22882290    }
     
    34713473            case SORT_ACTIVITY_TAG:
    34723474                sortType = SORT_ACTIVITY;
     3475            default:
     3476                NSAssert1(NO, @"Unknown sort tag received: %d", [menuItem tag]);
    34733477        }
    34743478       
     
    34943498            case STATUS_TRANSFER_SESSION_TAG:
    34953499                statusLabel = STATUS_TRANSFER_SESSION;
     3500            default:
     3501                NSAssert1(NO, @"Unknown status label tag received: %d", [menuItem tag]);
    34963502        }
    34973503       
     
    41374143       
    41384144        default:
    4139             NSLog(@"Unknown RPC command received (%d)", type);
     4145            NSAssert1(NO, @"Unknown RPC command received: %d", type);
    41404146            [torrent release];
    41414147    }
Note: See TracChangeset for help on using the changeset viewer.