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

View file

@ -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();
} }