Skip to content

Commit

Permalink
Hopefully fix coverity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Feb 23, 2015
1 parent b49cbc5 commit 50c7340
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lisp/lexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ Lexer::nextChar()
++bufend;
}
}

if(bufpos == NULL)
return;

c = *bufpos++;
if(c == '\n')
++linenumber;
Expand Down

0 comments on commit 50c7340

Please sign in to comment.