Developer Area

Changeset 643

Show
Ignore:
Timestamp:
01/13/10 09:48:49 (2 months ago)
Author:
henri
Message:

Moved local variable out of case statement, as per gcc rules

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/my.tel/trunk/Classes/AccountViewController.m

    r641 r643  
    188188    
    189189        UITableViewCell *cell = nil; 
     190        NSDictionary *theDomain = nil; 
    190191         
    191192        switch (indexPath.section) { 
     
    196197                                cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; 
    197198                        } 
    198                          
    199                         NSDictionary *theDomain = [self.domainsArray objectAtIndex:indexPath.row]; 
     199                        theDomain = [self.domainsArray objectAtIndex:indexPath.row]; 
    200200                        cell.textLabel.text = [theDomain objectForKey:@"name"]; 
    201201                        cell.detailTextLabel.text = [theDomain objectForKey:@"displayString"]; 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us