cocoaTouch/MasterViewController.m
changeset 3364 e5403e2bf02c
parent 3357 3836a31879e7
child 3405 8fdb08497bf1
--- a/cocoaTouch/MasterViewController.m	Wed Apr 21 21:38:07 2010 +0000
+++ b/cocoaTouch/MasterViewController.m	Thu Apr 22 17:43:12 2010 +0000
@@ -97,7 +97,7 @@
 -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
     int newRow = [indexPath row];
     int oldRow = (lastIndexPath != nil) ? [lastIndexPath row] : -1;
-    UIViewController *nextController;
+    UIViewController *nextController = nil;
     
     if (newRow != oldRow) {
         [self.tableView deselectRowAtIndexPath:lastIndexPath animated:YES];