Merge pull request #10 from iain-anderson/toml_cat_patch
Fix toml_cat abort on empty array
This commit is contained in:
commit
f06bf3a5cc
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