question regarding the warning that comes everywhere

Posted by user177893 on Stack Overflow See other posts from Stack Overflow or by user177893
Published on 2009-11-20T07:18:32Z Indexed on 2010/03/29 7:13 UTC
Read the original article Hit count: 315

Filed under:
|

Hi,

Would you be able to help to delete the warning discussed below ?

I have one file example.h

In that I declared static const NSString *variable = @"cool";

Now, I have another file multiple.m. In this file I have a function Bool var2 = [object methodname:variable];

It means, I passed variable as parameter for this function, but I got warning like this:

variable is defined but not used

So,how to remove this warning?

please help me

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c