void jsonp_error_set_source(json_error_t *error, const char *source)
{
+ size_t length;
+
if(!error || !source)
return;
- size_t length = strlen(source);
+ length = strlen(source);
if(length < JSON_ERROR_SOURCE_LENGTH)
strcpy(error->source, source);
else {