Fix toml_cat abort on empty array
This commit is contained in:
parent
56c42b7aed
commit
55334019ac
|
@ -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 New Issue