Merge pull request #10 from iain-anderson/toml_cat_patch

Fix toml_cat abort on empty array
This commit is contained in:
CK Tan 2018-07-09 18:45:26 -07:00 committed by GitHub
commit f06bf3a5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -141,6 +141,9 @@ static void print_array(toml_array_t* curarr)
printf("\n");
break;
case '\0':
break;
default:
abort();
}