Fix toml_cat abort on empty array
This commit is contained in:
parent
56c42b7aed
commit
55334019ac
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ static void print_array(toml_array_t* curarr)
|
|||
printf("\n");
|
||||
break;
|
||||
|
||||
case '\0':
|
||||
break;
|
||||
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue