This is essentially cosmetic, since success=0 is promised by
the comments in tag-utils.h.
char *tok = line;
size_t tok_len = 0;
char *line_for_error;
char *tok = line;
size_t tok_len = 0;
char *line_for_error;
+ tag_parse_status_t ret = TAG_PARSE_SUCCESS;
chomp_newline (line);
line_for_error = talloc_strdup (ctx, line);
if (line_for_error == NULL) {
fprintf (stderr, "Error: out of memory\n");
chomp_newline (line);
line_for_error = talloc_strdup (ctx, line);
if (line_for_error == NULL) {
fprintf (stderr, "Error: out of memory\n");
+ return TAG_PARSE_OUT_OF_MEMORY;
}
/* remove leading space */
}
/* remove leading space */