input/vcd: Make less noise in format match failure.

This commit is contained in:
Bert Vermeulen 2014-08-01 12:04:20 +02:00
parent b866fc095d
commit 2f6f0e9187
1 changed files with 1 additions and 3 deletions

View File

@ -141,10 +141,8 @@ static gboolean parse_section(FILE *file, gchar **name, gchar **contents)
if (!read_until(file, NULL, 'N')) return FALSE; if (!read_until(file, NULL, 'N')) return FALSE;
/* Section tag should start with $. */ /* Section tag should start with $. */
if (fgetc(file) != '$') { if (fgetc(file) != '$')
sr_err("Expected $ at beginning of section.");
return FALSE; return FALSE;
}
/* Read the section tag */ /* Read the section tag */
sname = g_string_sized_new(32); sname = g_string_sized_new(32);