From 2f6f0e9187cc8e7f70da9e1107fa0cb6f6598b0c Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Fri, 1 Aug 2014 12:04:20 +0200 Subject: [PATCH] input/vcd: Make less noise in format match failure. --- src/input/vcd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/input/vcd.c b/src/input/vcd.c index 6759d73e..eec53e10 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -141,10 +141,8 @@ static gboolean parse_section(FILE *file, gchar **name, gchar **contents) if (!read_until(file, NULL, 'N')) return FALSE; /* Section tag should start with $. */ - if (fgetc(file) != '$') { - sr_err("Expected $ at beginning of section."); + if (fgetc(file) != '$') return FALSE; - } /* Read the section tag */ sname = g_string_sized_new(32);