Merge pull request #10 from iain-anderson/toml_cat_patch
Fix toml_cat abort on empty array
This commit is contained in:
commit
f06bf3a5cc
|
@ -141,6 +141,9 @@ static void print_array(toml_array_t* curarr)
|
|||
printf("\n");
|
||||
break;
|
||||
|
||||
case '\0':
|
||||
break;
|
||||
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue