Fix toml_cat abort on empty array

This commit is contained in:
Iain Anderson 2018-07-04 14:30:45 +01:00
parent 56c42b7aed
commit 55334019ac
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"); printf("\n");
break; break;
case '\0':
break;
default: default:
abort(); abort();
} }