I got this Analyzer warning
Argument in message expression is an uninitialized value
with a little orange arrow under the second square bracket on the second line of the following code
- (NSString *)base64EncodedString
{
size_t outputLength;
char *outputBuffer =
NewBase64Encode([self bytes], [self length], true, &outputLength);
NSString *result =
[[[NSString alloc]
initWithBytes:outputBuffer
length:outputLength
encoding:NSASCIIStringEncoding]
autorelease];
free(outputBuffer);
return result;
}
I am not sure what is causing this I have tried several things but never have I had this type of Analyzer warning.
How do I get rid of this Analyzer warning?
int i;
is not initializedint i = 0;
is. clear? – Brad Allred