cocoaTouch/DetailViewController.m
changeset 3364 e5403e2bf02c
parent 3357 3836a31879e7
child 3374 0d522416d97f
--- a/cocoaTouch/DetailViewController.m	Wed Apr 21 21:38:07 2010 +0000
+++ b/cocoaTouch/DetailViewController.m	Thu Apr 22 17:43:12 2010 +0000
@@ -92,7 +92,7 @@
 #pragma mark Table view delegate
 -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
     NSInteger row = [indexPath row];
-    UIViewController *nextController;
+    UIViewController *nextController = nil;
     
     switch (row) {
         case 0: