diff options
Diffstat (limited to 'src/annotate.cc')
-rw-r--r-- | src/annotate.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/annotate.cc b/src/annotate.cc index 352690c6..093837fe 100644 --- a/src/annotate.cc +++ b/src/annotate.cc @@ -42,7 +42,8 @@ void annotation_t::parse(std::istream& in) { do { istream_pos_type pos = in.tellg(); - assert(pos != -1); + if (pos == -1) + return; char buf[256]; char c = peek_next_nonws(in); |