Add -Wall,-Werror compiler flags

This commit is contained in:
2022-11-16 23:01:50 -05:00
parent d2c59352bb
commit c67d4f4583
7 changed files with 15 additions and 5 deletions

View File

@@ -144,6 +144,9 @@ void ucl_print_obj(struct ucl_object *obj) {
case UCL_TYPE_BUILTIN:
printf("<builtin %p>", obj->builtin);
break;
case UCL_TYPE_SPECIAL:
printf("<special %p>", obj->special);
break;
case UCL_TYPE_CELL: {
int first = true;
printf("%s", "(");
@@ -212,4 +215,6 @@ struct ucl_object *ucl_equal(
return ucl_error_create("");
}
assert(0);
return ucl_error_create("Unreachable error in ucl_equal");
}