Adjust assertion

This commit is contained in:
Aoran Zeng
2024-12-14 09:31:34 +08:00
parent ddfa5639d0
commit 2746fe03c0
4 changed files with 9 additions and 9 deletions

View File

@@ -371,7 +371,7 @@ cli_print_target_features (Feature_t f, const char *input_target_name)
printf (" %s%s\n\n %s\n", bdgreen(HalfYesMark), purple(locally_msg), f.cap_locally_explain);br();
break;
default:
xy_unreach;
xy_unreached();
}
}

View File

@@ -1011,7 +1011,7 @@ chsrc_conclude (Source_t *source)
else
{
fprintf (stderr, "chsrc: Wrong change type: %d\n", ProgMode_ChgType);
xy_unreach;
xy_unreached();
}
}
@@ -1217,7 +1217,7 @@ chsrc_prepend_to_file (const char *str, const char *filename)
char *cmd = NULL;
if (xy_on_windows)
{
xy_unimplement;
xy_unimplemented();
}
else
{