I am probably using a wrong symbol for the NSString type to be included in another string.
const char* error; //it's set, not nil
NSLog([NSString stringWithFormat : @"Problem with SQL statement in \n %@ \n %@",sqlQuery,[NSString stringWithUTF8String:error]]);
The expression works, but I am getting this warning:
Formatting string is not a string literal(potentially insecure)
Is there a way to get rid of the warnings?
NSLog()after each step or use the debugger to inspect after each step.;NSLog()?stringWithFormat:and use%sinstead of%@forerror.