diff options
Diffstat (limited to 'common/lexer.c')
-rw-r--r-- | common/lexer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/lexer.c b/common/lexer.c index 329881f..6253492 100644 --- a/common/lexer.c +++ b/common/lexer.c @@ -102,7 +102,8 @@ p11_lexer_next (p11_lexer *lexer, return_val_if_fail (lexer != NULL, false); clear_state (lexer); - *failed = false; + if (failed) + *failed = false; /* Go through lines and process them */ while (lexer->remaining != 0) { |