title: Unused variable warning in objective c
body: <p>I'm trying to learn objective-c and have encountered a warning in this example:</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  int main (int argc, const char * argv[])
  
  {
      @autoreleasepool {
  
          NSMutableDictionary *booklisting = [NSMutableDictionary dictionary];
  
          int count; // &lt; Am getting 'unused variable' warning here 
  
          [booklisting setObject:@"Wind in the Willows" forKey:@"100-432112"];
          [booklisting setObject:@"Tale of Two Cities" forKey:@"200-532874"];
          [booklisting setObject:@"Sense and Sensibility" forKey:@"200-546549"];
  
          [booklisting setObject:@"Shutter Island" forKey:@"104-109834"];
  
  
         NSLog(@"Number of books in dictionary = %lu", [booklisting count]);
  </code></pre>
  
  <p>would anyone know why?.. Would appreciate help..thanks</p>