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");
|
printf("\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case '\0':
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue