title: false positives Xcode4 Analyzer
body: <p>In response to a comment made on this question: <a href="https://stackoverflow.com/q/5806101/705543">Is it possible to suppress Xcode 4 static analyzer warnings?</a>, here is a false positive (or at least I believe so).</p>
  
  <p>The code below gives the following message:</p>
  
  <p><em>Although the value stored to 'action' is used in the enclosing expression, the value is never actually read from 'action'</em></p>
  
  <pre><code>NSArray *actions = [button actionsForTarget:target forControlEvent:controlEvent];
  if (actions)
  {
      NSEnumerator *actionEnumerator = [actions objectEnumerator];
      NSString *action;
      while ((action = (NSString *)[actionEnumerator nextObject])) 
      {
          [button removeTarget:target action:@selector(action) forControlEvents:controlEvent];
      }
  }
  </code></pre>