avoid unnecessary memory allocation when updating the rpc access list

This commit is contained in:
Mitchell Livingston
2008-06-05 05:00:24 +00:00
parent 4d29a29003
commit 4951ba05d0
4 changed files with 14 additions and 15 deletions

View File

@@ -842,7 +842,6 @@ typedef enum
{
if ([notification object] == fTrackerTable)
{
#warning disable when all selected
int numSelected = [fTrackerTable numberOfSelectedRows];
[fTrackerAddRemoveControl setEnabled: numSelected > 0 forSegment: TRACKER_REMOVE_TAG];
}