title: Warning: control reaches end of non-void function - iPhone
body: <p>I keep getting 'warning: control reaches end of non-void function' with this code:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  
   if (section ==0)
  
   {
    return [comparativeList count];
   }
  
   if (section==1) 
   {
    return [generalList count];
   }
  
   if (section==2)
   {
  
    return [contactList count];
  </code></pre>
  
  <p>How can I get rid of this warning?</p>
  
  <p>Thanks.</p>