mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Fix --stream assertion
This commit is contained in:
@@ -600,7 +600,6 @@ static pfunc scan(struct jv_parser* p, char ch, jv* out) {
|
||||
return OK;
|
||||
// shouldn't happen?
|
||||
assert(!jv_is_valid(*out));
|
||||
assert(!jv_is_valid(p->next));
|
||||
parser_reset(p);
|
||||
jv_free(*out);
|
||||
*out = jv_invalid();
|
||||
|
Reference in New Issue
Block a user